Issue Bug Closed

#41327jsInline removes closing brackets

Simon Schaufelberger 09/24/12, 20:49 updated 10/04/22, 13:58

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.

Reviews 2