Carl Helquist

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromCarl Helquist
ToMe
Subjecthtml2text.php script error
Date9 October 2008 03:46
html2text.php downloaded from
http://www.howtocreate.co.uk/php/dnld.php?file=0&action=0
on 2008-10-8

line 147 started with "preg_replace..."

For my use I changed it to "$goodStr = preg_replace..."

I suspect that is what you intended it to look like.

That got rid of some annoying html entities.

The script works wonderfully. Thanks for making it available.

No need to reply if you don't have the time.

Carl Helquist
FromMe
ToCarl Helquist
SubjectRe: html2text.php script error
Date11 October 2008 09:23
Carl,

> html2text.php downloaded from
> For my use I changed it to "$goodStr = preg_replace..."

Thanks for the bug report. Yes, it was supposed to have "$goodStr =" at the
start - oops. I have released a new version with the fix.

Cheers.

Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.