[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 14:32:18 CEST 2008


Hi,

> We could do
> 
> if ($deleteUnused && !empty(trim($wrap))) ...
> 
> ? So deleteUnused works only if there are wraps. otherwise this doesn't 
> make sense and we don't need to set any defaults in the middle of a 
> function anyway... right?

Why doesn't it make sense? You may very well *not* want to use wraps and 
still want to remove unused marker.

-- 

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


More information about the TYPO3-team-core mailing list