[TASK] Disable escaping pidRecordTitle in clickmenu move element 41/51041/4
authorGianluigi Martino <gmartino27@gmail.com>
Fri, 23 Dec 2016 16:20:37 +0000 (17:20 +0100)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Mon, 23 Jan 2017 19:38:45 +0000 (20:38 +0100)
Prevent the escaping of pidRecordTitle in click menu move element. The
escaping is already done in the MoveElementController due to the usage
of the third (prep) parameter in BackendUtility::getRecordTitle.

Resolves: #79088
Releases: master
Change-Id: Ib35e9d5a3da7fc76085db910927ada17dbdd0b06
Reviewed-on: https://review.typo3.org/51041
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/backend/Resources/Private/Templates/ContentElement/MoveElement.html

index 9c16d72..5e2a0d7 100644 (file)
     <f:if condition="{pages}">
         <f:if condition="{pages.goUpUrl}">
             <f:then>
-                <a href="{pages.goUpUrl}"><core:icon identifier="actions-view-go-up" />{pages.pidRecordTitle}</a><br />
+                <a href="{pages.goUpUrl}"><core:icon identifier="actions-view-go-up" />{pages.pidRecordTitle -> f:format.raw()}</a><br />
             </f:then>
             <f:else>
                 <f:if condition="{pages.pidPageInfo}">
                     <core:iconForRecord table="pages" row="{pages.pidPageInfo}" />
                 </f:if>
-                {pages.pidRecordTitle}<br />
+                {pages.pidRecordTitle -> f:format.raw()}<br />
             </f:else>
         </f:if>
         {pages.positionTree -> f:format.raw()}
         <f:if condition="{ttContent.pageInfo.pid}">
             <f:if condition="{ttContent.goUpUrl}">
                 <f:then>
-                    <a href="{ttContent.goUpUrl}"><core:icon identifier="actions-view-go-up" />{ttContent.pidRecordTitle}</a><br />
+                    <a href="{ttContent.goUpUrl}"><core:icon identifier="actions-view-go-up" />{ttContent.pidRecordTitle -> f:format.raw()}</a><br />
                 </f:then>
                 <f:else>
                     <core:iconForRecord table="pages" row="{ttContent.pidPageInfo}" />
-                    {ttContent.pidRecordTitle}<br />
+                    {ttContent.pidRecordTitle -> f:format.raw()}<br />
                 </f:else>
             </f:if>
         </f:if>