[TYPO3-core] RFC:8574 Do not use htmlspecialchars for CSH description

Uschi Renziehausen typo3news at otherone.de
Sun Jun 1 11:41:10 CEST 2008


This is a SVN patch request.

Type: Bugfix

BT Reference: http://bugs.typo3.org/view.php?id=8574

Branches: Trunk, TYPO3 4.2

Problem:
The CSH node description may contain certain inline elements but runs 
through htmlcpecialchars() before it gets displayed on hover over a help 
icon, thus showing the html markup. See the attached 'before' screenshot.

Solution:
The attached patch removes the htmlspecialchars() from the description 
section in t3lib_befunc::helpText()

Uschi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: csh-html-in-description-before.png
Type: image/png
Size: 4241 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080601/25ba8110/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: csh-html-in-description-after.png
Type: image/png
Size: 4383 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080601/25ba8110/attachment-0003.png 


More information about the TYPO3-team-core mailing list