soulcutter/saxerator — pull request #18 by leifg (2014-08-13 16:30:55+00:00)
Title: Add attributes in empty tags

This is a quick fix for the problem in #17.

The main problem here though is, that tags with attributes and no children are handled as `EmptyElement`. If you change the handling of EmptyElements (merge attributes in it) existing tests break.

So I don't really know how to fix this on a global level. I guess the term "Empty Element" needs to be better defined