weavejester/hiccup — pull request #71 by algernon (2012-11-03 16:11:03+00:00)
Title: Allow setting arbitrary properties on the html5 root element

With this change, the options arguemtn of the html5 macro can contain
a :root-options key, and the value of that will be used to form the
properties of the element.

For this to work in XML mode, a new function (xhtml-tag-with-options)
was introduced, that allows setting not only the lang option, but
arbitrary ones aswell.

The test suite does not test the feature in XML mode (nor in html mode
with :lang set), because the order of the options in the resulting
string in those cases may not be deterministic.

Signed-off-by: Gergely Nagy