colinta/htmlkup — pull request #1 by ewollesen (2011-10-14 20:57:54+00:00)
Title: Output the id attribute first, if present.

This avoids coffeekup issue number 83, that is, if the id attribute doesn't come first, then the id is prepended with whatever class(es) come before it. For example ".foo#bar.baz" translates to id="foobar" class="baz". By placing the id first ("#bar.foo.baz") we get the expected output from coffeekup (id="bar" class="foo baz").