View Single Post
Old 05-07-2015, 10:02 AM   #15
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,928
Karma: 6361444
Join Date: Nov 2009
Device: many
Hi,
I am finally back from my travels.

There is a new version of the SanityChecker v0.1.0 which should provide line and column information for the last start tag that was unmatched when tag mismatches happen.

Please let me know if this now does what you want.

Thanks,

Kevin

Code:
<html>
<head>
<title>testing & entities</title>
</head>
<body>
<p>this&nbsp;is*the*<b><i>copyright</i></b> symbol "&copy;"</p>
</html>
Now should generate this output

[(7, 0, 'Improperly nested tags: parsing end tag "html" but current parse path is "html.body". See line 5 col 0')]

KevinH

Last edited by KevinH; 05-07-2015 at 03:38 PM.
KevinH is offline   Reply With Quote