Project

General

Profile

Actions

Bug #17770

closed

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

Added by Helmut Hummel about 17 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Content Rendering
Target version:
-
Start date:
2007-11-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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:

<img .... alt="" alt="German" />

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)


Files

bug_6682_trunk.diff (1.49 KB) bug_6682_trunk.diff Administrator Admin, 2007-11-09 18:21
Actions #1

Updated by Ingo Renner about 17 years ago

committed to trunk

Actions

Also available in: Atom PDF