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
Notice that the first link tag is closed <link />. The behaviour is very sensitive to the input, and adding or removing other tags will make the output a correct link tag. The (list [:link]) at the end is meant to be the return of a helper function like include-css.
It looks like a lazy sequence is being evaluated outside the *html-mode* binding. Adding a doall to collapse-strs fixed it, but there might be a more appropriate spot.
Turns out the doall in collapse-strs wasn't sufficient, but adding doall to compile-html did the trick. Does this handle everything? Here's a commit adding tests and a commit adding the doall geoffsalmon/hiccup@708cf4e geoffsalmon/hiccup@3b0ae78
I'm using hiccup 0.2.5 and am trying to set the mode to be :sgml, but for some tags it is still the default :xml. Here's an example,
Notice that the first link tag is closed
<link />
. The behaviour is very sensitive to the input, and adding or removing other tags will make the output a correct link tag. The(list [:link])
at the end is meant to be the return of a helper function like include-css.It looks like a lazy sequence is being evaluated outside the
*html-mode*
binding. Adding adoall
tocollapse-strs
fixed it, but there might be a more appropriate spot.The text was updated successfully, but these errors were encountered: