Quote:
Originally Posted by tshering
If you look at the xhtml files, you will notice that in each file the tag <span class="koboSpan" id="kobo.6.2"> is not closed before the next kobo tag, <span class="koboSpan" id="kobo.6.3">, opens.
|
This is just tag nesting, perfectly valid and absolutely essential to some designs and layouts.
Quote:
Originally Posted by tshering
Instead, it is closed at the end of the chapter.
|
I ran every test file through a XML validator and I can't find where this occurs. What I saw is that the worse case is a <span> opened at the start of a paragraph may not close until the end of that same paragraph. Can you point me at a file in either of these test files where a span isn't closed until the very end? That would be a serious problem and I very much doubt that books would display properly.
Quote:
Originally Posted by tshering
You can try this: put </span> in front of <span class="koboSpan" id="kobo.6.3"> in each file, and delete the last but one </span> in the paragraph (= in the chapter).
|
With the spans being properly balanced as they are, this would actually not be a good thing

Not saying the way it is now doesn't break highlighting (I've never tried nor has it been reported to me).