Closed GoogleCodeExporter closed 9 years ago
Accepted, apparently the problem exists.
Original comment by sigizm...@gmail.com
on 3 May 2010 at 10:24
This can be fixed by replacing line 205 in output.py from
allBrs = self.soup.findAll(recursive=True, name = ["br", "hr", 'div'])
to
allBrs = self.soup.findAll(recursive=True, name = ["br", 'div'])
Specifying hr as a self closing tag doesn't hurt either.
Original comment by wizmaste...@gmail.com
on 31 Aug 2010 at 6:20
To make both incoming <br> and <br /> work, it needed to be changed as
wizmasteromega pointed out and specified as a self closing tag when creating
the BeautifulStoneSoup object.
Original comment by retiefj...@gmail.com
on 8 Oct 2010 at 10:50
Original issue reported on code.google.com by
misii.ma...@gmail.com
on 23 Apr 2010 at 8:30Attachments: