Quote:
Originally Posted by RbnJrg
That is because in theory, you can't enclose a svg wrapper inside <h>, <p> and some others tags.
|
"In theory"? The only restriction I'm aware with <svg> is that it can be wherever <img> is allowed. This means it can be in <div> (or <p> or <h
X>), but not directly inside <body> or <blockquote>, for instance. Is there some other restriction? Do you have a link for that?
Now, if you'd said "in practice", meaning that some readers choke with that, I'd fine with it
(I don't know if that's the case, though)
(Anyway, this is something that only affects automatic TOC generation/update with Sigil. You can always create the NCX by hand and add whatever links and names you want, regardless of the HTML code.)