#45945optionSplit din't work well when using noTrimWrap special configuration
Description
Hi there,
When using optionSplit by calling splitConfArray function, there might be a bug when setting noTrimWrap to “|| |” or “| ||”.
an easy correction is to add a special condition for each segments:
File: t3lib/class.t3lib_tstemplate.php
for 4.5:
L. 1135: change to if ($main[0] && $cKey != 'noTrimWrap') {
L. 1139: change to if ($main[1] && $cKey != 'noTrimWrap') {
L. 1143: change to if ($main[2] && $cKey != 'noTrimWrap') {
for 4.7:
L. 1009: change to if ($main[0] && $cKey != 'noTrimWrap') {
L. 1013: change to if ($main[1] && $cKey != 'noTrimWrap') {
L. 1017: change to if ($main[2] && $cKey != 'noTrimWrap') {Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.