kotlinx.html
kotlinx.html copied to clipboard
script tag in stream mode escapes quotes
trafficstars
script(type = ScriptType.textJavaScript) { +"var str = 'some text';" } will result:
how to avoid quotation in this case?
See unsafe
I think, this counts as another vote for #5 :-)
Two completely different use-cases for + should be called differently. One implies html escaping, while another explicitly does not perform any.