View Single Post
Old 12-17-2015, 01:55 PM   #7
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,883
Karma: 6120478
Join Date: Nov 2009
Device: many
Hi,
That is actually a bug in BeautifulSoup4's prettify() which inserts line breaks after every tag even if they are inline tags that impacts this plugin.

If it instead used Sigil's own version of BeautifulSoup, sigil_bs4, it could use serialize_xhtml() or prettyprint_xhtml() which would prevent the introduction of newlines after inline tags.

I will mention this to Doitsu and ask him if he would like to update the plugin.

Thanks for your bug report.

Kevin

Last edited by KevinH; 12-17-2015 at 01:59 PM.
KevinH is offline   Reply With Quote