hiccup bug ?

10 views
Skip to first unread message

Vagif Verdi

unread,
Apr 3, 2010, 9:17:31 PM4/3/10
to Compojure
When trying to migrate to 0.4 i found this bug:
(let [bar "bar"]
(html [:bla {:foo bar}]))

gives an error. It looks like hiccup does not like variables inside
maps.

James Reeves

unread,
Apr 4, 2010, 8:39:42 AM4/4/10
to Compojure

Yes, that's a bug, and a pretty major one. I'll create a patch for it
and release Hiccup 0.2.2 by the end of the day.

- James

James Reeves

unread,
Apr 4, 2010, 4:15:40 PM4/4/10
to Compojure

This bug has now been fixed in Hiccup 0.2.2, and I've added some unit
tests to prevent future regressions.

Let me know if any more bugs like this pop up. Pre-compilation can get
tricky :/

- James

Reply all
Reply to author
Forward
0 new messages