Despite difficulties caused by Kotlin compiler issues, I finally craft a working Kotlin Template.
I didn't find a way to add a DOCTYPE to the Dom document, so I revert to
add it as a String.
Do you already thought of a better way of doing this?
Another problem I had is that was impossible to add String containing a piece of HTML, beacuse it get escaped.
Since I want to allow for the insertion of my previously String bases templates into Kool one, I made
an extension function "unescaped" that parse an HTML String using
Cyberneko parser , and then
add the resulting set of nodes to parent, as Kool Template do with standard html tags.
Do you think this method could be a useful addition on Kool Template?