[TYPO3-core] RFC #13695: Image output in frontend is not xhtml valid

Stanislas Rolland typo3 at sjbr.ca
Sat Dec 4 17:06:43 CET 2010


This is a SVN patch request.

Type: Bugfix

Problem:
Image tags rendered in frontend may be invalid.

t3lib_parseHTML::HTMLcleaner 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.

Solution:
Fix t3lib_parseHTML::HTMLcleaner so that it correctly handles empty tags.

How to test:
1. In TS template, include static template Clickenlarge Rendering 
(rtehtmlarea) after static template CSS Styled Content.
2. Insert an image inside some RTE-enabled content element.
3. View the rendered img tag in frontend.


Bugtracker references:
http://bugs.typo3.org/view.php?id=13695
http://bugs.typo3.org/view.php?id=15618
http://bugs.typo3.org/view.php?id=16423

Branches:
trunk
TYPO3_4-4
TYPO3_4-3

Kind regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: typo3core_bugfix_13695_typo3_4-4.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101204/b1da35be/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: typo3core_bugfix_13695_trunk.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101204/b1da35be/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: typo3core_bugfix_13695_typo3_4-3.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101204/b1da35be/attachment-0001.txt>


More information about the TYPO3-team-core mailing list