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.
|