[TYPO3-core] RFC: Bug #7324 : HTML breaks when using special characters in CSH bubble
Patrick Broens
patrick at patrickbroens.nl
Thu Jan 31 10:54:32 CET 2008
This is a SVN patch request.
Problem:
Some CSH texts are using special characters to explain HTML tags in the
new CSH bubble. For instance
systext/context_help/locallang_csh_systmpl.xml uses <title> as
<title> in label sitetitle.description. This is not properly
encoded and a title tag will show up in the html for the editing form of
templates.
Solution:
Use htmlspecialchars() on description for csh text
Comments:
Firefox ignores the title tag, but IE6 stops rendering the HTML when
arriving at the title tag. To reproduce this, go to module 'Template'
and edit the whole template record in IE6. At the second CSH icon for
'Website title' it will stop rendering the page. Actually a no brainer.
Bugtracker references:
http://bugs.typo3.org/view.php?id=7324
Branches: Trunk
Patrick
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 31012008_bug7324.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080131/b0aad5fd/attachment.txt
More information about the TYPO3-team-core
mailing list