diff -rc MHonArc-2.6.16/lib/mhtxthtml.pl MHonArc-2.6.16-headfix/lib/mhtxthtml.pl *** MHonArc-2.6.16/lib/mhtxthtml.pl Sun May 1 19:04:39 2005 --- MHonArc-2.6.16-headfix/lib/mhtxthtml.pl Tue Nov 14 18:02:20 2006 *************** *** 186,194 **** $base =~ s|(.*/).*|$1|; ## Strip out certain elements/tags to support proper inclusion: ! ## some browsers are forgiving about dublicating header tags, but ## we try to do things right. It also help minimize XSS exploits. ! $$data =~ s|[\s\S]*||io; 1 while ($$data =~ s|]*>||gio); 1 while ($$data =~ s|]*>||gio); 1 while ($$data =~ s|]*>||gio); --- 186,194 ---- $base =~ s|(.*/).*|$1|; ## Strip out certain elements/tags to support proper inclusion: ! ## some browsers are forgiving about duplicating header tags, but ## we try to do things right. It also help minimize XSS exploits. ! $$data =~ s|[\s\S]*?||gio; 1 while ($$data =~ s|]*>||gio); 1 while ($$data =~ s|]*>||gio); 1 while ($$data =~ s|]*>||gio);