weavejester/hiccup — pull request #61 by pauldorman (2012-09-16 23:34:08+00:00)
Title: Alternate normalize-element implementation.

Alternate implementation of normalize-element function which allows for element id replacement and/or concatenation of additional classes if included in the optional attr-map argument. There are also a few minor changes to the overall structure of the function, which I hope doesn't break anything for anyone or cause any consternation. Passes all existing tests under Clojure 1.4.

I haven't included any tests, but given the similar intent to [#57](https://github.com/weavejester/hiccup/issues/57) perhaps the test code could be from that (though the var 'bar' should maybe be a string?).