[TYPO3-core] RFC: Bug #7324 : HTML breaks when using special characters in CSH bubble

Patrick Broens patrick at patrickbroens.nl
Thu Jan 31 11:25:55 CET 2008


Thanks guys

Committed to trunk

Patrick Broens wrote:
> 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 
> &lt;title&gt; 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
> 


More information about the TYPO3-team-core mailing list