View Single Post
Old 01-22-2014, 07:56 PM   #1
SeaCanary
Enthusiast
SeaCanary began at the beginning.
 
SeaCanary's Avatar
 
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>
After:
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>
SeaCanary is offline   Reply With Quote