Skip to content
Snippets Groups Projects
Commit b1797f9d authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[BUGFIX] Parse INCLUDE_TYPOSCRIPT conditions that contain ">"

<INCLUDE_TYPOSCRIPT: source="DIR:..." condition="[tree.level > 2]">

The TypoScript tokenizers fail here since ">" within the
condition is interpreted as "end of INCLUDE_TYPOSCRIPT".

Add a couple of tests and fix it.

Resolves: #103875
Releases: main, 12.4
Change-Id: I43c59bd61645bee9ce9c175b00ce1d2cba44c023
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84346


Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
parent 9cc84da0
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment