Project

General

Profile

Actions

Bug #90339

closed

f:link.typolink not working properly, break html code while escape single single quotes

Added by Ghanshyam Bhava about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2020-02-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
typolink, fluid
Complexity:
medium
Is Regression:
Sprint Focus:

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

HTML_Broken.png (135 KB) HTML_Broken.png Ghanshyam Bhava, 2020-02-07 10:25
Actions #1

Updated by Ghanshyam Bhava about 4 years ago

  • Description updated (diff)
Actions #2

Updated by Ghanshyam Bhava about 4 years ago

Actions #3

Updated by Nikita Hovratov about 4 years ago

That patch causes this behaviour since v9.5.12: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62227

Actions #4

Updated by Gerrit Code Review about 4 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

Actions #5

Updated by Gerrit Code Review about 4 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

Actions #6

Updated by Nikita Hovratov about 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF