Bug #75138

hard-coded <![CDATA[]]> support is missing in fluid template and language files (xlf)

Added by Harald no-lastname-given over 4 years ago. Updated 7 months ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Fluid
Start date:
2016-03-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Stabilization Sprint

Description

So far - to TYPO3 version 7.6.4 following was possible for output in FE

Fluid template:

...
<f:if condition="{settings.disable}==0">
window.test_options = <![CDATA[{]]>
message: '{f:translate(key: "message", extensionName: "myextension")}',
...

Language file *.xlf

...
<trans-unit id="message">
<target><![CDATA[<b>]]>mydomain.com<![CDATA[</b>  ]]>this is content</target>
</trans-unit>
...

In the current TYPO3 version 8 (master), edged <![CDATA[something]]> text is displayed incorrectly or not in FE.

Somewhat overlooked or no longer supported ?!

Thank Harald

#1

Updated by Benni Mack over 4 years ago

  • Target version changed from 8.0 to 8.2
#2

Updated by Benni Mack over 4 years ago

  • Target version changed from 8.2 to 8.3
#3

Updated by Benni Mack about 4 years ago

  • Target version changed from 8.3 to 8.4
#4

Updated by Benni Mack about 4 years ago

  • Target version changed from 8.4 to 8.5
#5

Updated by Benni Mack almost 4 years ago

  • Target version changed from 8.5 to 8.6
#6

Updated by Oliver Hader almost 4 years ago

  • Status changed from New to Accepted
  • Sprint Focus set to Stabilization Sprint

Confirmed and not possible in 8.6-dev

#7

Updated by Oliver Hader almost 4 years ago

  • Priority changed from Could have to Must have
#8

Updated by Benni Mack almost 4 years ago

  • Target version changed from 8.6 to 8 LTS
#9

Updated by Wolfgang Klinger over 3 years ago

What's the status of this ticket? Any workaround for now? I have to output dynamic data as Javascript. That worked (though rather annoying with all this CDATA stuff) in all versions until now … tia

#10

Updated by Benni Mack over 3 years ago

  • Target version changed from 8 LTS to Candidate for patchlevel
#11

Updated by Riccardo De Contardi about 3 years ago

  • Category set to Fluid
#12

Updated by Susanne Moog over 1 year ago

  • Tracker changed from Task to Bug
#13

Updated by Susanne Moog 7 months ago

  • Status changed from Accepted to Closed

This is working in current versions of TYPO3 - the core is using that for "systemmessage.intro" for example.

Also available in: Atom PDF