Commit 30d48182 authored by Frank Nägler's avatar Frank Nägler Committed by Oliver Hader
Browse files

[BUGFIX] Double encoding in image title-tag

With https://review.typo3.org/#/c/45284/ this bug was introduced. The change to
htmlSpecialChars = 1 was a mistake, because the output is already escaped.
This patch reverts the change for altText object.

Resolves: #75860
Releases: master, 7.6, 6.2
Change-Id: I87ea6ef4c734707933c75ab5c9ab3c4f4604251d
Reviewed-on: https://review.typo3.org/47898


Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Nicole Cordes's avatarNicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes's avatarNicole Cordes <typo3@cordes.co>
Reviewed-by: default avatarMichael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Jigal van Hemert's avatarJigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert's avatarJigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
parent 691545dd
......@@ -740,7 +740,7 @@ tt_content.image.20 {
altText = TEXT
altText {
data = file:current:alternative
htmlSpecialChars = 1
stripHtml = 1
}
titleText < .altText
......
......@@ -740,7 +740,7 @@ tt_content.image.20 {
altText = TEXT
altText {
data = file:current:alternative
htmlSpecialChars = 1
stripHtml = 1
}
titleText < .altText
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment