[TYPO3-core] RFC #8637: Bug: t3lib_parsehtml::substituteMarkerArray() deletes too much if wrap is not set

Francois Suter fsuter at cobweb.ch
Sun Jun 8 12:25:11 CEST 2008


Hi,

> you could also set it as default argument value.
> Might save some milliseconds cause you don't have to check if it's set 
> anymore.

Won't do, because when $wrap is not set, it means the markers already 
contain ### themselves. So it must be set only when trying to delete 
unused markers so that the regular expression searches for strings 
looking like ###SOMESTUFF###.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-core mailing list