Issue Bug Closed

#55357TS Parser: Fix regression when having tabs in TS names

Benni Mack 01/27/14, 13:48 updated 10/02/18, 12:07

Description

With the optimization of the TS parser (see #54856), it is not possible
to write TypoScript like this:

config {
    baseUrl            = www.mywebsite.com
    tx_realurl_enable    = 1
}

The problem is that the TS parser is not allowing tabs after the
TS object name (baseUrl). The fix strips away tabs after the TS.

This is how to test it:

Put this in your constants field of your TS template
(make sure to disable the T3editor)

config {
    baseUrl            = www.mywebsite.com
    tx_realurl_enable    = 1
}

and this in your setup area:

config.baseUrl = http://{$config.baseUrl}/

you can see if the constant is replaced in the
TypoScript Object Browser.

Reviews 1