problem with added characters
In my html file, I have the following line:
<span class="underline">action</span> and <span class="underline">decision</span>
But when I open the html file in Sigil, I see this:
<span class="underline>action</span> and <span class=" underline="">decision</span>
As a result, epub validator makes this complaint:
attribute "underline" not allowed here; expected attribute "dir", "id", "style", "title" or "xml:lang"
So, two questions:
1. Why do you suppose Sigil makes such radical changes in the text, accepting some instances of < and > but changing others, and again adding a space and a straight quote which seem to have created invalid epub?
2. Am I correct in thinking that epub validator is complaining about the space and the apparent extra " in the second instance, to wit: " underline="">
There are many instances of span="underline" in the document, but only three errors relating to the word "underline".