ibdknox/crate — pull request #9 by emezeske (2012-05-22 03:10:45+00:00)
Title: Generate correct markup for selected options.

Previously, each
had a "selected=..." attribute, with its value set to true or false depending on whether it was supposed to be selected. Browsers interpret this to mean that we want them all to be selected. The correct behavior is to leave out the "selected" attribute for all but the element that is to be selected.

This is also a problem in hiccup. See the pull request for that here: https://github.com/weavejester/hiccup/pull/50 .