Issue Bug Closed

#17770GMENU property disableAltText clears the content of alt param, but does not remove it

Helmut Hummel 11/09/07, 18:14 updated 06/27/08, 10:53

Description

If you want to use your own alt parameter, you need to set it with imgParams and set disableAltText to 1.

Unfortunatly the alt is renderded two times, because it is only cleared, but not removed completly:

Simple Setup:

temp.langMenu.1 = GMENU
temp.langMenu.1.disableAltText = 1
…
temp.langMenu.1.NO.imgParams = alt=“German”

In TYPO3 4.1.3 config.xhtml_cleaning = all fixes this issue, but nevertheless disableAltText = 1 behaviour is wrong.

Solution: Remove the whole alt param and not only clear it’s value if disableAltText is set.
(issue imported from #M6682)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.