[TYPO3-core] RFC #13758: Bug: page.jsInline / page.jsFooterInline may fail with config.removeDefaultJS=external

Bernhard Kraft kraftb at think-open.at
Sat Mar 6 22:26:12 CET 2010


Steffen Ritter wrote:

> removeDefaultJS=external moves the inlineJS to an external file. If 
> there are markers for INT-Objects in the inlineJS they are moved to 
> external file too (where they never will be substituted).

Understandable. Altough the order of JS function could get juggled 
around without this patch there will be more obvious JS errors which an 
admin can't repair.


If you try the following code:

echo preg_quote('<!--INT_SCRIPT-->')."\n";

You will get:

-------------
\<\!--INT_SCRIPT--\>
-------------

So you should escape the chars "<!>" in your pregs.


greets,
Bernhard


More information about the TYPO3-team-core mailing list