added support for arbitrary custom html5 attributes (data-*)
added support for empty html attributes (foo='')