Quote:
Originally Posted by KevinH
ps. I see Doitsu has already beaten me to the punch with his solution. If you decide to use BS4, I would recommend the serialize_xhtml call in sigil_bs4 over the prettyprint_xhtml call since the serialize call will make fewer changes to the source code (ie. is less likely to introduce errors from incorrect pretty-printing).
|
I wasn't able to find any documentation about serialize_xhtml nor prettyprint_html.
I only found the
prettify method of the original Beautiful Soup library,
Can someone help me?