[BUGFIX] Don't encode title of CEs twice in link wizard 26/50226/4
authorDaniel Goerz <ervaude@gmail.com>
Fri, 14 Oct 2016 10:10:03 +0000 (12:10 +0200)
committerMathias Schreiber <mathias.schreiber@wmdb.de>
Sat, 15 Oct 2016 15:22:08 +0000 (17:22 +0200)
The content element titles are passed through BackendUtility::getRecordTitle
with htmlspecialchars() applied.

Change-Id: I162b8e2eef78899239bf9cb556c957e50060270a
Resolves: #78055
Releases: master
Reviewed-on: https://review.typo3.org/50226
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
typo3/sysext/recordlist/Resources/Private/Templates/LinkBrowser/Page.html

index 58da4a9..17882de 100644 (file)
@@ -17,7 +17,7 @@
                                <li class="list-tree-control-open">
                                        <span class="list-tree-group">
                                                <span class="list-tree-icon">{activePageIcon -> f:format.raw()}</span>
-                                               <span class="list-tree-title">{activePageTitle}</span>
+                                               <span class="list-tree-title">{activePageTitle -> f:format.raw()}</span>
                                        </span>
                                        <ul>
                                                <f:for each="{contentElements}" as="content">
@@ -26,7 +26,7 @@
                                                                        <span class="list-tree-icon">{content.icon -> f:format.raw()}</span>
                                                                        <span class="list-tree-title">
                                                                                <a href="{content.url}" class="t3js-pageLink">
-                                                                                       {content.title}
+                                                                                       {content.title -> f:format.raw()}
                                                                                </a>
                                                                        </span>
                                                                </span>