View Single Post
Old 09-13-2017, 09:23 AM   #1
Sam Sahara
Connoisseur
Sam Sahara doesn't litterSam Sahara doesn't litterSam Sahara doesn't litter
 
Posts: 79
Karma: 228
Join Date: Aug 2014
Device: lambda k21
Strange "tag mismatch"

Calibre 3.6

The <br class="brs" /> tag is evaluated as an error with the following message:

Code:
ERROR: Parsing failed: Opening and ending tag mismatch: br line 11 and h2, line 11, column 87****[OEBPS/text/content0078.xhtml]
If I close the tag this way: <br class="brs"></br> the above error is no more raised. It seems to be a wrong behaviour, as I can read on w3schools.com:

Code:
In HTML, the <br> tag has no end tag.

In XHTML, the <br> tag must be properly closed, like this: <br />.
Sam Sahara is offline   Reply With Quote