01-19-2014, 07:55 AM | #1 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Another problem with nbsp
I have checked the threads on nbsp but I don't see this problem addressed:
My e-book is peppered with instances of   where I didn't ask for them and don't see any reason for including them. I am using Sigil 0.7.4. Can I simply delete them with search & replace? Thank you! |
01-19-2014, 08:31 AM | #2 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Yes, but don't count on a series of them to be displayed, nor an ordinary space between two paragraph tags to be honored by the ereader as a blank paragraph.
|
Advert | |
|
01-19-2014, 08:49 AM | #3 |
Grand Sorcerer
Posts: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
  is the same thing as . If you delete them all, the vertical spacing they represent in your document will be lost (not that I recommend using them for vertical spacing).
It's not a question of "asking" for them. If you hit the return key in Book View to add vertical spacing, Sigil automatically generates the code: Code:
<p> </p> Prior to v0.7.4 the same action would have created: Code:
<p> </p> Also: any unicode non-breaking space characters in your source document will be converted to   when opened in Sigil. Any horizontal spacing that may have been achieved with consecutive non-breaking space characters will be lost if you delete all the  s Last edited by DiapDealer; 01-19-2014 at 09:03 AM. |
01-24-2014, 06:41 AM | #4 | |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Quote:
There weren't as many as I thought--maybe twelve or fifteen in a lengthy book. Anyhow, I deleted them, adding an actual space where necessary, and the book is the better for it. (The html, by the way, was created by word2cleanhtml online. Perhaps that's where the non-breaks came from?) Thank you all! |
|
01-24-2014, 07:00 AM | #5 |
Obsessively Dedicated...
Posts: 3,200
Karma: 34977896
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
|
I can't remember the exact circumstances to reproduce it, but you will get the unexpected #160 / nbsp when you edit in Book View and add spaces as you type. I know for sure it happens if you have used the Italics icon, and type a space at the end of the word, it will insert the #160 entity inside the italic tag. There are other circumstances, I just cannot call them to mind.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
nbsp disappeared | roger64 | Sigil | 55 | 12-22-2013 07:41 PM |
Use of for spacing | Ripplinger | Sigil | 11 | 11-25-2012 04:36 AM |
txt to Epub - nbsp nbsp | cybmole | Calibre | 1 | 09-17-2010 09:05 AM |
Unwanted $nbsp; | Nathanael | Sigil | 10 | 09-07-2010 03:52 PM |