You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure what should be the output here (possibly "", since {} doesn't look like valid html to me), but I would expect both snippets to render the same output.
Adding an explicit {} first parameter makes them render both "{}"
It should probably either output "{}" or throw an error in both cases. Hiccup uses precompilation steps, and it looks like this is producing some strange output when it's fed invalid input.
html5 is a macro, and some of the options it takes are necessary to be known at compile-time. In this case, I'd suggest not using the macro, and instead write:
Please consider the following snippet:
I am not sure what should be the output here (possibly
""
, since{}
doesn't look like valid html to me), but I would expect both snippets to render the same output.Adding an explicit
{}
first parameter makes them render both"{}"
The text was updated successfully, but these errors were encountered: