View Single Post
Old 07-07-2018, 01:29 PM   #4
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: 7,657
Karma: 5433388
Join Date: Nov 2009
Device: many
Under html5, a self-closing script tag is illegal and causes an error in head which invalidates the remainder of the document according to the rules for parsing html5 in browsers.

Under xhtml, it may be allowed but is really a bad choice especially for WebKit based browsers and browser based ePub readers, just like self-closing title tags for example. I can special case it if need be in mend if not already fixed.
KevinH is offline   Reply With Quote