Project

General

Profile

Actions

Bug #92982

closed

Fluid and javascript variables

Added by X B over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Start date:
2020-12-03
Due date:
% Done:

0%

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

Description

Hello,

We have found a bug with fluid template.
The javascript variables with a TYPO3 constant seems doesnt work after an f: format tag

The following code:

<script>var avt= "{data.tx_mask_chart}";</script>

 <h1> TEST  <f:format.date format="d/m/Y">{data.tx_mask_date}</f:format.date></h1>

 <script>var apres= "{data.tx_mask_chart}";</script>

renders the following HTML:

 <script>var avt= "#c6ce4e";</script>

<h1> TEST  30/12/2018</h1>

<script>var apres= "{data.tx_mask_chart}";</script>

The variable doesn't seem to work after the f: format tag

TYPO3 version is 8.7.38.

The problem seems to come from the last update of typo3.

Any ideas?

Thanks

Actions

Also available in: Atom PDF