cvs commit: imp/lib/MIME/Viewer html.php
Jon Parise
jon@horde.org
Wed, 19 Dec 2001 09:01:34 -0800 (PST)
jon 2001/12/19 09:01:34 PST
Modified files:
lib/MIME/Viewer html.php
Log:
Replace the call to preg_replace() with a call to ereg_replace().
For some reason, preg_replace() would cause the CPU usage to grow
out of control when given certain content (tested on a long block
of Russian text). ereg_replace() does not appear to have this
problem.
Also, this regular expression was incorrectly matching <font> tags,
so I've made it a little stricter.
Merge after: 3 days
Revision Changes Path
1.6 +3 -3 imp/lib/MIME/Viewer/html.php
Chora Links:
http://cvs.horde.org/diff.php/imp/lib/MIME/Viewer/html.php?r1=1.5&r2=1.6&ty=u