View Single Post
Old 03-06-2012, 05:09 AM   #1
GrannyGrump
Obsessively Dedicated...
GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.
 
GrannyGrump's Avatar
 
Posts: 3,221
Karma: 35037583
Join Date: May 2011
Location: PA {back in the usa!}
Device: Sony PRS-T2, ADE on PC
Possible to escape characters in CSS tags in Sigil?

google found for me the possibility of using backslash escape character in CSS, but Sigil v 4.2 is throwing "not well-formed document" error. (on XP SP3 if that affects things)

Specifically, I'm using <h3> tags for chapter headings. I want to enter text in titles that will be picked up by the TOC generator. Some have a double-quote, and Calibre reader TOC cannot parse the unicode curly quotes - it displays black boxes. So I want to use straight quote marks.

Here's an example of what I'm trying to do:
Code:
<h3 title="IV. He shouts "NO" loudly" id="ch04">IV</h3>
If I use smart / curly quotes around NO, it is fine.
If I try to use straight quotes (alone or with backslash) I get "whitespace expected" error.

Is there such a thing as an escape character in epub tags, or is that wishful thinking?
GrannyGrump is offline   Reply With Quote