View Single Post
Old 11-14-2019, 06:49 PM   #5
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,887
Karma: 6120478
Join Date: Nov 2009
Device: many
Does it have the proper doctype set?
Does it have the xml declaration as the first line?

Could it be that when parsing html with svg they relax the rules?

I checked, under html5 the body start and end tags are optional. Of course they are required for xhtml but something is convincing the QWebEngine to parse it as html and not xhtml.

The Preview code is always loaded via SetContent with the xhtml media type, so something different about that file is causing it to be parsed under html rules.

Hmmmm
KevinH is offline   Reply With Quote