[TYPO3-project-4-3] Replace HTMLparser code with a PHP DOM extension based implementation

Steffen Kamper info at sk-typo3.de
Mon Sep 1 17:25:11 CEST 2008


Martin Kutschker schrieb:
> Hi!
> 
> The current implementation has a bug. removeTags doen't work properly.
> Unfortunately the code is hard to maintain. So I suggest to move on to a
> new code (maybe even in a new class) that is based on the PHP DOM extension.
> 
> Masi

full +1. HTMLparser code indeed is kind of "outdate" and use hardcoded 
lists of tags and hard to follow regexes. And if even you as one of the 
"regex-masters" say that it's difficult to maintain, what's about the 
others? :-)

vg Steffen


More information about the TYPO3-project-4-3 mailing list