ID 0004312 needs to be reopened due to misunderstanding
This ticket was closed today and needs to be reopened.
This issue is on the recursive call to stdWrap, within stdWrap, not on the TEXT object as Martin interpreted it.
stdWrap.stdWrap.wrap = <span>|</span>
Above will not work without including:
stdWrap.stdWrap = 1
This is on line 3204 of class.tslib_content.php in the 4.0.4 core.
Everywhere else in the code, the check is completed as if( $conf['stdWrap.']), checking for the presence of an stdWrap config array, not a value assigned to stdWrap.
Hope this makes more sense now.
(issue imported from #M4871)