[TYPO3-core] RFC: Bug #13972: cropHTML uses faulty reg exp for HTML entities
Jigal van Hemert
jigal at xs4all.nl
Thu Apr 15 23:03:37 CEST 2010
Martin Kutschker wrote:
> Jochen Rau schrieb:
>> IMO the proposed solution (with a corrected range from 2 to 8) is the
>> best tradeoff between performance and the risk of not cropping exactly
>> at the given position.
>
> Why any limit at all? I see no length restriction in the mentioned spec.
I think it's introduced to limit the error in length if an "invalid"
entity-like pattern is found.
--
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
More information about the TYPO3-team-core
mailing list