View Single Post
Old 04-05-2022, 05:07 PM   #1
Vanguard3000
Groupie
Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.
 
Posts: 169
Karma: 474196
Join Date: Jan 2011
Location: Canada
Device: Kobo Libra 2
Space after <br/> tag when prettifying.

Hey all,

Since Sigil 1.9, I've noticed that when prettifying code, a <br/> tag at the end of a line will combine onto one line as expected, but there will be a space after the tag.

For example:
Code:
<p>Space<br/>
The Final Frontier<br/>
These are the voyages of the starship Enterprise.</p>
Expected:
Code:
<p>Space<br/>The Final Frontier<br/>These are the voyages of the starship Enterprise.</p>
Actual:
Code:
<p>Space<br/> The Final Frontier<br/> These are the voyages of the starship Enterprise.</p>
Is there a reason for this change? Is it something I can adjust (short of reverting to an older Sigil version)? As it is when prettifying a new ebook I now have to do a find/replace to remove that space to satisfy my anal retentiveness.

Obviously it's not a killer problem or anything; I just preferred it when the space wasn't inserted, and am wondering if there's a way to make it not happen.

Thanks in advance for any info, and happy First Contact Day!

Last edited by Vanguard3000; 04-05-2022 at 05:26 PM. Reason: Added closing </p> tags to code examples.
Vanguard3000 is offline   Reply With Quote