Go full-on XML and don't bother with HTML-compat at all. Example: <img src="fun.png"/>
Go full-on HTML and don't pretend to be XHTML: <img src="fun.png">
Since Blaze is supposed to be for HTML, I'd say go with the latter and drop the "openLeafs" setting completely. Otherwise it should support XHTML (be it 1/1.1 or 2.0 or 5) and in that setting generate proper, non-awkward plain XML. What Blaze is currently doing for HTML5 is kinda-sorta really XHTML5 but with HTML-compatibility hacks that you should never use. At the very least I'd like an openLeafs = True variant for HTML5.
Please excuse my OCD and accept my thanks for a lovely library. ☺
In my OCD view of things, I say you either
<img src="fun.png"/>
<img src="fun.png">
Since Blaze is supposed to be for HTML, I'd say go with the latter and drop the "openLeafs" setting completely. Otherwise it should support XHTML (be it 1/1.1 or 2.0 or 5) and in that setting generate proper, non-awkward plain XML. What Blaze is currently doing for HTML5 is kinda-sorta really XHTML5 but with HTML-compatibility hacks that you should never use. At the very least I'd like an
openLeafs = True
variant for HTML5.Please excuse my OCD and accept my thanks for a lovely library. ☺