[BUGFIX] Add parseFunc handling to pre tags 21/54421/2
authorSusanne Moog <susanne.moog@typo3.com>
Tue, 17 Oct 2017 18:22:54 +0000 (20:22 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 17 Oct 2017 21:00:58 +0000 (23:00 +0200)
Pre tags are currently not passed through parseFunc
resulting in non-parsed t3:// links in the frontend.

As <pre> tags allow links (and other tags) inside, we
should parse them, too.

Change-Id: I5647f02b0d93b05ecaed8297c794b91255ea6d54
Resolves: #82789
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/54421
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/fluid_styled_content/Configuration/TypoScript/Helper/ParseFunc.txt

index 0757171..4fbcf25 100644 (file)
@@ -61,6 +61,9 @@ lib.parseFunc_RTE {
             stripNL = 1
             stdWrap.parseFunc = < lib.parseFunc
         }
+        pre {
+            stdWrap.parseFunc < lib.parseFunc
+        }
         table {
             stripNL = 1
             stdWrap {