From escaped html -> to regular html? - Python

Posted by RadiantHex on Stack Overflow See other posts from Stack Overflow or by RadiantHex
Published on 2010-03-19T04:25:24Z Indexed on 2010/03/19 4:31 UTC
Read the original article Hit count: 827

Filed under:
|
|
|
|

Hi folks,

I used BeautifulSoup to handle XML files that I have collected through a REST API.

The responses contain HTML code, but BeautifulSoup escapes all the HTML tags so it can be displayed nicely.

Unfortunately I need the HTML code.


How would I go on about transforming the escaped HTML into proper markup?


Help would be very much appreciated!

© Stack Overflow or respective owner

Related posts about python

Related posts about html