[BUGFIX] Double encoding in image title-tag 06/47906/2
authorFrank Naegler <frank.naegler@typo3.org>
Tue, 26 Apr 2016 08:19:25 +0000 (10:19 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 26 Apr 2016 08:25:54 +0000 (10:25 +0200)
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/47906
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/css_styled_content/static/setup.txt
typo3/sysext/css_styled_content/static/v4.5/setup.txt
typo3/sysext/css_styled_content/static/v4.6/setup.txt
typo3/sysext/css_styled_content/static/v4.7/setup.txt
typo3/sysext/css_styled_content/static/v6.0/setup.txt
typo3/sysext/css_styled_content/static/v6.1/setup.txt

index 080c4b2..8079688 100644 (file)
@@ -747,7 +747,7 @@ tt_content.image.20 {
                altText = TEXT
                altText {
                        data = file:current:alternative
-                       htmlSpecialChars = 1
+                       stripHtml = 1
                }
 
                titleText < .altText
index 6c99313..0139363 100644 (file)
@@ -513,7 +513,7 @@ tt_content.image.20 {
                altText = TEXT
                altText {
                        field = altText
-                       htmlSpecialChars = 1
+                       stripHtml = 1
                        split.token.char = 10
                        split.token.if.isTrue = {$styles.content.imgtext.imageTextSplit}
                        split.returnKey.data = register : IMAGE_NUM_CURRENT
index c8bb342..efdbcc1 100644 (file)
@@ -517,7 +517,7 @@ tt_content.image.20 {
                altText = TEXT
                altText {
                        field = altText
-                       htmlSpecialChars = 1
+                       stripHtml = 1
                        split.token.char = 10
                        split.token.if.isTrue = {$styles.content.imgtext.imageTextSplit}
                        split.returnKey.data = register : IMAGE_NUM_CURRENT
index f4ba5fd..80ed973 100644 (file)
@@ -707,7 +707,7 @@ tt_content.image.20 {
                altText = TEXT
                altText {
                        field = altText
-                       htmlSpecialChars = 1
+                       stripHtml = 1
                        split.token.char = 10
                        split.token.if.isTrue = {$styles.content.imgtext.imageTextSplit}
                        split.returnKey.data = register : IMAGE_NUM_CURRENT
index 04fde9a..a7f5cfb 100644 (file)
@@ -708,7 +708,7 @@ tt_content.image.20 {
                altText = TEXT
                altText {
                        field = altText
-                       htmlSpecialChars = 1
+                       stripHtml = 1
                        split.token.char = 10
                        split.token.if.isTrue = {$styles.content.imgtext.imageTextSplit}
                        split.returnKey.data = register : IMAGE_NUM_CURRENT
index b8ca5c4..8a5712f 100644 (file)
@@ -708,7 +708,7 @@ tt_content.image.20 {
                altText = TEXT
                altText {
                        field = altText
-                       htmlSpecialChars = 1
+                       stripHtml = 1
                        split.token.char = 10
                        split.token.if.isTrue = {$styles.content.imgtext.imageTextSplit}
                        split.returnKey.data = register : IMAGE_NUM_CURRENT