The Beautiful Soup default is supposedly to act as an HTML pretty-printer, but it's actually acting like an XML pretty-printer. I don't know why I did that.
Change the second-to-last line from BeautifulStoneSoup to BeautifulSoup, and it will start knowing about HTML's self-closing tags. I'll make this change in the next version.
Posted by Sam Ruby at Thu Jun 01 2006 09:20
Posted by Sam Ruby at Thu Jun 01 2006 09:22
Posted by Leonard at Thu Jun 01 2006 09:25
Posted by Sam Ruby at Fri Jun 02 2006 07:29
Posted by Leonard at Fri Jun 02 2006 11:17