judofyr/temple — pull request #53 by pyrtsa (2011-12-14 16:00:28+00:00)
Title: Add :sort_attrs (= true) to HTML::AttributeMerger

HTML attributes are sorted by key by default, but turning off the
option :sort_attrs changes it to preserve the insertion order of
attributes instead. (In Ruby 1.9.x, this is done using the standard
Hash class.)

Tests passed on Ruby 1.8.7, 1.9.2, 1.9.3.