Html2Text goes into infinite loop...
Status: Beta
Brought to you by:
jhsolorz
I am using class Html2Text for converting email TEXT/
HTML body part to plain text. It all worked fine until I
received email with TEXT/HTML body part as per
attachment. Obviously email is a tricky spam . Convert()
keeps looping after parsing 'click here' with empty line.
...
while (($line = $this->getLine()) !== false) {
$wholeText .= ($line . "\r\n");
}
...
Forever...
TEXT/HTML email body part