Thread: white space
View Single Post
Old 06-21-2014, 07:33 AM   #24
Nebucad
Member
Nebucad began at the beginning.
 
Nebucad's Avatar
 
Posts: 14
Karma: 10
Join Date: Jun 2014
Location: Nürnberg - Germany
Device: Kindle 4 - Gen. 5
Arrow you have to use RegEX

Quote:
Originally Posted by jimb949 View Post
When I check my book on nook there is a blank space between each and every one of my paragraphs and it looks bad.
Hi, i assume it is not a StyleSheet problem because you write
Quote:
Originally Posted by jimb949 View Post
I can delete them one by one but that would take me forever because I have 28 chapters.
So i doubt it a stylesheet setting could help you with your problem at all.

It sounds for me you have problem which could nicely solved by RegEX.

First open your SiGIL-Editor and find the "blank" paragraphs you have to see how they`re entered in the .html File <p> isn't the same like <p class="idk" id="whoknows">!

2nd step
open find-and-replace (usually strg+f) you've to enter 2 thing
Search-Line: <p>\s*</p>
replace-Line: <empty no letter no char, nothing>

IMPORTANT
check the setting, just run it manually and run it once to see what happend
(this setting will erease all TAG (p-TAG) with whitespace between the TAG, this also erease p-TAG's who goes over several lines and have more than 1 whitespace, this order doesn't ereas p-TAG with whitespace and letters between the opening and ending-TAG)

Make sure the annoying paragraph match the <p> paragraph in the Search-line. i.e <p class="idk">\s*</p>

whitespace outside a TAG will be ignored anyway.
Nebucad is offline   Reply With Quote