01-22-2014, 07:56 PM | #1 |
Enthusiast
Posts: 34
Karma: 10
Join Date: Jan 2014
Device: Nook
|
Blank Lines In Code
When I close a tab containing code and then reopen it after saving the file Sigil adds a blank line between each line of code. How can I get it to stop this?
Before... Code:
<body class="calibre sgc-3"> <h3 class="sgc-2" id="heading_id_2">B<i>onny</i> L<i>ight</i> H<i>orseman</i></h3> <p class="chorusbody">Cho: Oh, Napoleon Bonaparte, you’re the cause of my woe<br /></p> <p class="chorusbody">Since my bonny light horseman to the wars he did go</p> <p class="chorusbody">Broken hearted I’ll wander, broken hearted I’ll remain</p> <p class="chorusend">Since my bonny light horseman in the wars he was slain</p> <p class="versebody">When Boney commanded his armies to stand</p> <p class="versebody">And proud lift his banners all gayly and grand</p> <p class="versebody">He levelled his cannons right over the plain</p> <p class="verseend">And my bonny light horseman in the wars he was slain</p> Code:
<body class="calibre sgc-3"> <h3 class="sgc-2" id="heading_id_2">B<i>onny</i> L<i>ight</i> H<i>orseman</i></h3> <p class="chorusbody">Cho: Oh, Napoleon Bonaparte, you’re the cause of my woe<br /></p> <p class="chorusbody">Since my bonny light horseman to the wars he did go</p> <p class="chorusbody">Broken hearted I’ll wander, broken hearted I’ll remain</p> <p class="chorusend">Since my bonny light horseman in the wars he was slain</p> <p class="versebody">When Boney commanded his armies to stand</p> <p class="versebody">And proud lift his banners all gayly and grand</p> <p class="versebody">He levelled his cannons right over the plain</p> <p class="verseend">And my bonny light horseman in the wars he was slain</p> |
01-22-2014, 08:01 PM | #2 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
This doesn't have any effect on reading the book, it is just HTML tidy which makes the code more readable.
If you wish, it can be changed from Edit ==> Preferences ==> Clean Source and uncheck the option to autoclean when opening. |
Advert | |
|
01-22-2014, 08:24 PM | #3 |
Grand Sorcerer
Posts: 27,550
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Uncheck it for "Saving" as well. Otherwise you won't be able to save any changes without Tidy kicking in.
|
01-22-2014, 08:51 PM | #4 |
Enthusiast
Posts: 34
Karma: 10
Join Date: Jan 2014
Device: Nook
|
Thanks all !!
|
Tags |
extra lines |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Blank Lines in MOBI-Conversion | ulrichbi | Conversion | 3 | 01-19-2012 04:50 AM |
Blank Lines | jreidu | Workshop | 2 | 07-20-2011 05:11 AM |
Help: blank screen and horizontal lines | wildabandon | iRiver Story | 4 | 03-29-2011 02:39 PM |
Blank lines between paragraphs? | ascherjim | OpenInkpot | 30 | 12-03-2009 12:19 AM |
Blank Lines | vivaldirules | Upload Help | 55 | 03-02-2009 03:17 PM |