Open stain opened 9 years ago
Seems to also apply to the options of xhtml
. Ideally the "options" should also be evaluated only once, so perhaps create options#
abit earlier? I tried to fix it, but macro escape-unquote magic is not my favourite.. I made at least a unit test in https://github.com/stain/hiccup/tree/issue-106
works.. but any way to set the
options
programmatically fails, and the options are inserted verbatim into the result:This is probably because
html5
does not evaluate theoptions
symbol, and so(map? options)
fails.