View Single Post
Old 06-25-2020, 07:57 PM   #5
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
Quote:
Originally Posted by Turtle91 View Post
As for the asterisks...I wouldn't put a lot of extra spaces between the characters...just set your css with your desired letter spacing:

eg
.asterisks {letter-spacing:2em}
<p class="asterisks">***</p>
Thanks Dion. I'll try it.

Quote:
Originally Posted by Turtle91 View Post
ePub3 doesn't allow named entities like &nbsp; - it only accepts numbered entities (one of the dumber things I think the ODPF changed).

If you have Sigil set to ePub3 by default, it will automatically change the &nbsp; to & #160;

I honestly don't remember if Sigil does it for ePub2 automatically?? In any case you can go into Sigil Preferences/Preserve Entities and add & #160;
Mine was set to Epub Version 2. And I don't know how it got in there but the & #160 entitiy was in the Preserve Entities. I got rid of it and added the & nbsp entity (that's what you meant, right?).

Quote:
Originally Posted by DiapDealer View Post
If you put &nbsp; in your Preserve Entities list (in Preferences) and you're working on an epub2, they won't be converted. If you're working on an epub3, then &nbsp; shouldn't be in your Preserve Entities list. As Turtle91 noted: named entities are not valid in Epub3.
Thanks Diap. Yeah, working on an epub2. Like I said, that & #160; entity was in the Preserve Entities (it was the only thing there). It must've come with the default because I didn't even know there was a Preserve Entities section. Anyway, I got rid of the evil & #160; and restored good old & nbsp;. The crops are saved.
Gregg Bell is offline   Reply With Quote