| 
			
			 | 
		#1 | 
| 
			
			
			
			 Junior Member 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6 
				Karma: 5788 
				Join Date: Jul 2013 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
				
				White space inserted between paragraphs
			 
			
			
			Okay, I'm new to this, but this can't be right.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	I have an ePub file which generally appears to be clean. When I load it in Sigil, it inserts white space (specifically, lf\b\b\b\b) between paragraphs (<h>, <p>, etc.) It makes the HTML readable, but,of course, shows up in the file and on the device. I can't get it to stop. I created a set of saved search/replaces to clear them out and they just keep returning. I'm sure there just some silly flag I didn't set, but I can't find it. I'm using Sigil 0.7.2 in windows 7 64 bit. please ... Help!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Color me gone 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089 
				Karma: 1445295 
				Join Date: Apr 2008 
				Location: Central Oregon Coast 
				
				
				Device: PRS-300 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Try using an unzip program to unzip the files making up the epub.  Examine the files in any text editor. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Make sure you do NOT have HTML Tidy turned on in the preferences in Sigil. It is undesirable and can add things to the file. The Pretty Print setting is sufficient.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Imperfect Perfectionist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 720 
				Karma: 863576 
				Join Date: Dec 2011 
				Location: Ølstykke, Denmark 
				
				
				Device: none 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Junior Member 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6 
				Karma: 5788 
				Join Date: Jul 2013 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I've read all the previous threads regarding this, but I still don't get it.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	My final testing is with the Kindle simulator (Kindle Previewer) for windows and the white space shows up on that. I know it's there to make the HTLM readable, but it ends up in the completed file. Give me a minute ... I'll try the playing with the Clean Source flags.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,891 
				Karma: 207182180 
				Join Date: Jan 2010 
				
				
				
				Device: Nexus 7, Kindle Fire HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The whitespace in the html code (that makes it readable) has absolutely nothing to do with with whitespace being rendered between paragraphs when viewing/reading (unless in the unlikely event you ARE using "white-space:pre-wrap" somewhere). 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Margin between paragraphs is default. If you don't want it, you need to use styling (external, internal or inline) to tell it you don't want that default margin. Create a stylesheet, link it to your html file(s) and add an entry that looks like: Code: 
	p {
  margin: 0;
  text-indent: 1.2em;
}
Last edited by DiapDealer; 07-02-2013 at 02:36 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 frumious Bandersnatch 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,570 
				Karma: 20150435 
				Join Date: Jan 2008 
				Location: Spaniard in Sweden 
				
				
				Device: Cybook Orizon, Kobo Aura 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Junior Member 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6 
				Karma: 5788 
				Join Date: Jul 2013 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Ahhhh, step 1 complete .... I created a file that works (almost). Yes, turning off all the "Clean Source" flags works!   Now .. I'll investigate the previous comment regarding white-space: pre-wrap to see if I can keep the readability.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Junior Member 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6 
				Karma: 5788 
				Join Date: Jul 2013 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			DiapDealer, you're wonderful! I didn't have pre-wrap somewhere, I had it everywhere! 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I had a friend of mine convert my Word doc into ePub using Pages. Apparently, pages puts a "white-space  re-wrap" at the beginning of every chapter. I commented it out and I can not only read my HTML, but it shows up in my previewer correctly !!!!!!!! Thank you all!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | |
| 
			
			
			
			 mostly an observer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519 
				Karma: 996810 
				Join Date: Dec 2012 
				
				
				
				Device: Kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Personally, I upload the epub to the KDP, let it convert, then download the *.mobi file to run it through Kindle Previewer.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Problems removing white space between paragraphs | Alda | Sigil | 30 | 06-27-2012 01:21 PM | 
| How to remove white space between paragraphs for iPad? | kabloooie | Conversion | 4 | 05-28-2012 06:11 AM | 
| Create a space between some paragraphs | Elle518 | ePub | 17 | 04-12-2012 05:21 PM | 
| space between paragraphs | gatorman | Sigil | 3 | 01-07-2011 11:17 AM | 
| Ragged right / space between paragraphs | Oldpilot | Sigil | 5 | 11-11-2010 08:59 PM |