Project

General

Profile

Actions

Bug #22209

closed

Image output in frontend is not xhtml valide

Added by Konrad Schiertz over 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-03-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If you insert an image in the htmlarea the frontend output of the image tag will not be xhtml conform.

I don't know if htmlarea 1.8.8 or TYPO3 is responsible for the image-tag manipulation in the frontend.

In the source view of the htmlarea the image tag is correctly closed with an />.

TYPO3 4.3.2, htmlarea 1.8.8
(issue imported from #M13695)


Files


Related issues 3 (0 open3 closed)

Has duplicate TYPO3 Core - Bug #23490: Images inserted in the RTE are not rendered xhtml-valid in the frontendClosedStanislas Rolland2010-09-01

Actions
Has duplicate TYPO3 Core - Bug #24083: RTE inline icons for links are not XHTML valid (externalLinkInNewWindow, externalLink, internalLink, internalLinkInNewWindow...)ClosedStanislas Rolland2010-11-16

Actions
Has duplicate TYPO3 Core - Bug #21058: <img > embedded in RTE not XHTML if "config.xhtml_cleaning = all" not setClosedStanislas Rolland2009-09-15

Actions
Actions #1

Updated by Konrad Schiertz over 14 years ago

It depends on the static template "Clickenlarge Rendering". If i include this static template the img tag will be invalid.

Actions #2

Updated by Administrator Admin almost 14 years ago

Tested in version 4.4.4: When static for clickenlarge is place before that of css_styled_content the output of the image tag is correct xhtml.

Actions #3

Updated by Stanislas Rolland almost 14 years ago

Are you using DAM?

Actions #4

Updated by Administrator Admin almost 14 years ago

In the above mentioned setting, we do not use DAM.
I tested it in another 4.4.4 installation, where we do uses DAM: There the img tag ends correctly, even the static of clickenlarge comes after that of css_styled_content.
But clickenlarge does not work there at all. Most of the time I do not even get the pop-up for setting the image properties in the rte (but the dam-adjusted element browser). Once I got to that point, marked clickenlarge, but in the FE it did not work. In the img tag a have a property clickenlarge="1" as a result.
Besides that, the image tag is not valid there, because "there is no attribute tx-dam" - but that is a different story I guess.

Actions #5

Updated by Stanislas Rolland almost 14 years ago

Static template "Clickenlarge Rendering" must be included AFTER static template "CSS Styled Content" otherwise the setup is erased by CSS Styled Content.

Actions #6

Updated by Stanislas Rolland almost 14 years ago

HTMLparser produces incorrect output when given a configuration for an empty tag such as the img tag. Both htmlArea RTE and DAM define such a configuration.

Actions #7

Updated by Stanislas Rolland almost 14 years ago

Committed to SVN TYPO3core trunk (revision 10013), branch TYPO3_4-4 (revision 10014) and branch TYPO3_4-3 (revision 10015).

Actions #8

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF