jsocol/bleach — pull request #137 by msabramo (2014-12-12 07:01:13+00:00)
Title: Fix GH-121; Make attribute order deterministic

Always serialize attributes in alpha order by passing `alphabetical_attributes=True` to `html5lib.serializer.HTMLSerializer`.

This allows greatly simplifying tests within bleach itself and in code that makes use of bleach.

Fixes: GH-121

Cc: @trainiac