Quote:
Originally Posted by KevinH
You could try replacing them with the U+200B ZERO-WIDTH SPACE code point using numeric entities or the character itself.
Also try treating it as a self-closing xhtml element written as <wbr />
|
Hello KevinH, thanks for the reply.
I tried the self-closing tag <wbr/>. The Calibre Check Book is happy with that change, but the EpubCheck plugin still flags errors...
Spoiler:
Quote:
p06c77.xhtml Line: 145 Col: 581 ERROR(RSC-005): Error while parsing file: element "wbr" not allowed anywhere; expected the element end-tag, text or element "a", "abbr", "acronym", "applet", "b", "bdo", "big", "br", "cite", "code", "del", "dfn", "em", "i", "iframe", "img", "ins", "kbd", "map", "noscript", "ns:svg", "object", "q", "samp", "script", "small", "span", "strong", "sub", "sup", "tt" or "var" (with xmlns:ns="http://www.w3.org/2000/svg")
|
Quote:
Originally Posted by KevinH
You could try replacing them with the U+200B ZERO-WIDTH SPACE code point using numeric entities or the character itself.
|
Interesting, I didn't know about this. But this seems to work and solves the error flags. I'll stick with this method. It seems to work on the Libra2, but then I notice some of the URL's are wrapped at locations that has no no-space character, so I think the Libra2 does its own thing anyway.