Hi all
So I'm at the final stage of my epub-novel and ran a validation. I get this error message about a hundred times:
element "u" 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")
From what I've read, the <u> shouldn't be a problem as long as it is within a <p>.
This is what it all looks like in my html:
Code:
<p><u>some text</u></p>
So, what exactly is the problem here? I used the calibre editor, and it has this toolbar with the "u", "b", "I" etc, so I just (ignorantly?)used it...
What should I do to fix this, and is there an easy way to fix all 100 instances at once? I've heared of regex, but I don't master it yet (not by a long shot). Any help would be grately appreciated, as always.
Yours
Johan