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 almost 5 years ago. Updated over 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

Also available in: Atom PDF