Bug #90339
closedf:link.typolink not working properly, break html code while escape single single quotes
100%
Description
I am using TYPO3 version 9.5.13 currently and customize fluid_style_content and created a lightbox view for the image. Check out fluid syntax below:
<f:link.typolink parameter="{f:uri.image(image: gallery.rows.1.columns.1.media, width:gallery.rows.1.columns.1.dimensions.width, height: gallery.rows.1.columns.1.dimensions.height)}" additionalAttributes="{data-lightbox: 'lightbox{data.uid}', data-title: '<div class=\'logo\'>{f:image(src: \'EXT:MyExtension/Resources/Public/Images/logo.png\')}</div><div class=\'lb-content\'>{data.bodytext -> f:format.raw()}</div>'}">Weitere Bilder</f:link.typolink>
I downgraded the TYPO3 version to 9.5.11, in the version its working fine. So, In a nutshell, functionality breaks from TYPO3 9.5.12.
Files
Updated by Ghanshyam Bhava almost 5 years ago
- File HTML_Broken.png HTML_Broken.png added
- Description updated (diff)
Updated by Nikita Hovratov almost 5 years ago
That patch causes this behaviour since v9.5.12: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62227
Updated by Gerrit Code Review almost 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63274
Updated by Gerrit Code Review almost 5 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63293
Updated by Nikita Hovratov almost 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c9eecb93f8fbbae1de42c5ccd6bf5a7b058162aa.