[greenstone-devel] Bug in ghtml

From Emanuel Dejanu
DateTue, 11 Jan 2005 12:02:10 +0200
Subject [greenstone-devel] Bug in ghtml
In-Reply-To (41E1B892-2040409-cs-waikato-ac-nz)
Hi,

I have found the following bug in function html2txt from perllib/ghtml.pm.

$_[0] =~ s/<[^>]>//g if $_[1];

should be

$_[0] =~ s/<[^>]*>//g if $_[1];

Best regards,

Emanuel Dejanu