Quote:
Originally Posted by jgoguen
This is just tag nesting, perfectly valid and absolutely essential to some designs and layouts.
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.
|
It is not a question of xml validity. The Kobo software expects that those tags are not nested.
Quote:
Originally Posted by jgoguen
With the spans being properly balanced as they are, this would actually not be a good thing 
|
Why don't you try what I proposed and judge by yourself. My proposal was meant exactly for the test file. Since I propose adding one closing tag at an early position and deleting one later, the balance is still preserved.
Quote:
Originally Posted by jgoguen
Not saying the way it is now doesn't break highlighting (I've never tried nor has it been reported to me).
|
I thought Davidfor might have reported this, cf.
this post.