weavejester/hiccup — pull request #62 by indy (2012-09-17 08:45:40+00:00)
Title: Merge attributes by concatenating :class and overriding :id

Hi,
This pull request deals with conflicts in class and id attributes. Class attributes are concatenated and ID attributes are replaced:

[:div.foo {:class "bar"} "baz"] =>

baz

[:div#foo {:id "bar"} "baz"] =>

baz

(This supersedes [pull request 57](https://github.com/weavejester/hiccup/pull/57) which I've now closed)