Quote:
Kevin - I think that's a glitch on the forum rendering, it drop spaces into long strings.
|
I did not know that. So it just happened to mess up rendering the ids on my screen.
Hmm... the only other things I can think of are:
1. Javascript is only supported in epub3 but your code above uses an epub2- style Doctype and not an epub3 Doctype
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
vs
2. Perhaps Readium like Sigil has a enable and disable javascript setting?
Either way, this code works properly on Sigil (once the enable javascript is set in Preferences before the epub3 is loaded) and once the proper DOCTYPE is used.
So Perhaps you should be asking this on a Readium support forum. Both Readium and Sigil are both Chrome browser engine based so if it works on Sigil it should work on Readium.