I'm using closure-html as a a way to parse web page templates, then inserting the dynamic content and finally deserializing the page. This all works fine as long as I use html4. The problem starts once I want use html5-tags in my templates. Then closure-html will strip those tags away during parsing. I'm talking about tags like <audio>, <video> and <canvas>.
I see that closure-html use the html4 dvd to make sure that the parsed html is well formed and conforming. I was thinking whether a html5 DTD could be added, but unfortunately there is no such thing, and w3c has stated that there will be none. I could of cause make a DTD that mostly would do the right thing, but that would never be 100% conforming.
Have there been any thoughts about how closure-html could be extended to support html5?
-Gisle