segfault processing ordered lists

('binary' encoding is not supported, stored as-is)

Hi

The following (invalid) html causes a segfault in html tidy. The segfault seems to be caused by the fix for issue 826462 (revision 1.176). 

Thanks, I've found tidy to be very helpful!

-Ben

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title>test</title></head>
<body>
<ol>
<!-- comment -->
<br>
</ol>
</body>
</html>

Received on Friday, 30 March 2007 02:48:56 UTC