[TYPO3-core] RFC: bugfix #6682

Helmut Hummel typo3 at jhpc.de
Fri Nov 9 18:29:58 CET 2007


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=6682

Branches:
TYPO3_4-1 & trunk

Problem:
If you want to use your own alt parameter for GMENU images, you need to
set them with imgParams and set disableAltText.
Unfortunatly then the alt is renderded two times, because it is only
cleared, but not removed completly.

Not valid XHTML is rendered:
<img .... alt="" alt="German" />

Solution:
Remove the whole alt param instead of just clearing it

Comment:
config.xhtml_cleaning = all fixes this issue, but nevertheless
disableAltText = 1 behaviour is wrong.
The tsref says:
"If set, the alt-parameter of the images are not set. You can do it
manually by 'imgParams' "

Regards Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_6682_trunk.diff
Type: text/x-patch
Size: 1521 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071109/066437d8/attachment.bin 


More information about the TYPO3-team-core mailing list