View Single Post
Old 07-22-2020, 09:21 AM   #58
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
You may want to take a look at the extras in sigil_bs4 versus normal bs4.

See: https://github.com/Sigil-Ebook/Sigil...s4/__init__.py

For "serialize_xhtml" near line 470 which tries to rebuild the source as close as possible to what was parsed, similar to how Sigil itself does it.
KevinH is online now   Reply With Quote