Closed tshort closed 5 years ago
I was going to mention @tags_noescape
, and m(Hyperscript.NOESCAPE_HTMLSVG_CONTEXT, "div", "<span>hi</span>")
, but doesn't your last PR actually solve this for us?
julia> @tags div
julia> div("<span>hi</span>")
<div><span>hi</span></div>
julia> div(HTML("<span>hi</span>"))
<div><span>hi</span></div>
Nice! Thanks, @yurivish.
Thanks also for the reminder on @tags_noescape
. That will be helpful for me in another scenario.
I need to output un-encoded strings that include raw HTML. This is easy enough to implement externally:
Example:
Is there any interest in having this in Hyperscript?