From 6e73c8c0b71fbe719fbe3ff83ce9d42cbbc63ff5 Mon Sep 17 00:00:00 2001 From: Gianluigi Martino <gmartino27@gmail.com> Date: Fri, 23 Dec 2016 17:20:37 +0100 Subject: [PATCH] [TASK] Disable escaping pidRecordTitle in clickmenu move element 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> --- .../Private/Templates/ContentElement/MoveElement.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/typo3/sysext/backend/Resources/Private/Templates/ContentElement/MoveElement.html b/typo3/sysext/backend/Resources/Private/Templates/ContentElement/MoveElement.html index 9c16d72408dc..5e2a0d70930c 100644 --- a/typo3/sysext/backend/Resources/Private/Templates/ContentElement/MoveElement.html +++ b/typo3/sysext/backend/Resources/Private/Templates/ContentElement/MoveElement.html @@ -14,13 +14,13 @@ <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()} @@ -32,11 +32,11 @@ <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> -- GitLab