Project

General

Profile

Actions

Bug #41327

closed

jsInline removes closing brackets

Added by Simon Schaufelberger about 12 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Must have
Category:
TypoScript
Target version:
-
Start date:
2012-09-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
nightmare
Is Regression:
No
Sprint Focus:

Description

this code does NOT work:

page.jsInline {
    10 = TEXT
    10.value (
        jquery(document).ready(function($) {
            $('.pagination li').hover(
                function(){}
            );
        });
    )
}

broken output:
jquery(document).ready(function($) {
    $('.pagination li').hover(
        function(){}

but this one does (notice the last line):

page.jsInline {
    10 = TEXT
    10.value (
        jquery(document).ready(function($) {
            $('.pagination li').hover(
                function(){});});
    )
}

i guess TYPO3 somehow interprets the last closing brackets as the closing bracket for the 10.value which is really strange.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #76447: TypoScript Parse BugClosed2016-06-03

Actions
Related to TYPO3 Core - Feature #97816: New TypoScript parserClosed2022-06-27

Actions
Actions

Also available in: Atom PDF