From 30d48182e2d61a8bf2171fa16f54e9a7c3c728bc Mon Sep 17 00:00:00 2001 From: Frank Naegler <frank.naegler@typo3.org> Date: Mon, 25 Apr 2016 14:16:31 +0200 Subject: [PATCH] [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 <typo3@wouterwolters.nl> Tested-by: Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de> Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de> Reviewed-by: Andreas Fernandez <typo3@scripting-base.de> Reviewed-by: Nicole Cordes <typo3@cordes.co> Tested-by: Nicole Cordes <typo3@cordes.co> Reviewed-by: Michael Oehlhof <typo3@oehlhof.de> Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org> Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org> Reviewed-by: Oliver Hader <oliver.hader@typo3.org> Tested-by: Oliver Hader <oliver.hader@typo3.org> --- .../css_styled_content/Configuration/TypoScript/v7/setup.txt | 2 +- typo3/sysext/css_styled_content/static/setup.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/typo3/sysext/css_styled_content/Configuration/TypoScript/v7/setup.txt b/typo3/sysext/css_styled_content/Configuration/TypoScript/v7/setup.txt index a94c34b78ee3..c1274aad18dd 100644 --- a/typo3/sysext/css_styled_content/Configuration/TypoScript/v7/setup.txt +++ b/typo3/sysext/css_styled_content/Configuration/TypoScript/v7/setup.txt @@ -740,7 +740,7 @@ tt_content.image.20 { altText = TEXT altText { data = file:current:alternative - htmlSpecialChars = 1 + stripHtml = 1 } titleText < .altText diff --git a/typo3/sysext/css_styled_content/static/setup.txt b/typo3/sysext/css_styled_content/static/setup.txt index e419935f4a4a..6ac62a4e2f4e 100644 --- a/typo3/sysext/css_styled_content/static/setup.txt +++ b/typo3/sysext/css_styled_content/static/setup.txt @@ -740,7 +740,7 @@ tt_content.image.20 { altText = TEXT altText { data = file:current:alternative - htmlSpecialChars = 1 + stripHtml = 1 } titleText < .altText -- GitLab