#27331htmlSpecialChars und TS-Menu-Wrap
Description
Hallo,
When I add a wrap to a TS-Menu like this
stdWrap.cObject = COA
stdWrap.cObject {
5 = TEXT
5 {
field = subtitle
wrap = |
if.isTrue.data = field:subtitle
}
}
i cannot see any possibility to get htmlSpecialChars = 0 to work. The result is, that the span tag is rendered to “<span”
I think, that happens when there is a “htmlSpecialChars.” Element, that has Child-Elements link htmlSpecialChars.preserveEntities. No matter if htmlSpecialChars.preserveEntities is set to 1 or 0.
In this case the function-Type becomes “array” after being parsed by array_intersect_key in typo3/sysext/cms/tslib/class.tslib_content.php where it should be “boolean”
If I add “if(!($functionName==“htmlSpecialChars”) || !($functionType==“array”)){” in line 2048 of typo3/sysext/cms/tslib/class.tslib_content.php everything is fine.
Is there any proper solution to this problem.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.