HTML-Parser bug

Anthony Chun-Li Hu (ahu@undergrad.math.uwaterloo.ca)
Mon, 18 Jan 1999 00:18:15 -0500 (EST)


please note the following code: 
-------------
use HTML::Parse; 
$h=parse_html(q(<tr><th>b<td>a</td>) ) ;
print $h->dump ;
-------------------------

note it yeilds the following output.  
-----------------------
"b" "a" ------------------------------ note that in the html spec, the closing tagg for is optional. Therefore when the parser sees the a should be inserted. and this should be the proper output. -----------------------
"b" "a" ------------------------------ please send your thoughts to my address at the top of this email . Was wondering if this was going to fixed....I've treid to look at the code to figure out how to fix it but my perl programming isn't very good .... thanx for any help you might provide. Tony