common/uilib.py
branchtls-sprint
changeset 1647 9936aca2453d
parent 1646 88182252fd11
child 1977 606923dff11b
--- a/common/uilib.py	Mon May 04 13:36:31 2009 +0200
+++ b/common/uilib.py	Mon May 04 15:46:40 2009 +0200
@@ -214,7 +214,7 @@
         except KeyError:
             pass
         value += u' ' + u' '.join(u'%s="%s"' % (attr, html_escape(unicode(value)))
-                                  for attr, value in attrs.items()
+                                  for attr, value in sorted(attrs.items())
                                   if value is not None)
     if content:
         if escapecontent: