nette/nette — pull request #459 by vojtech-dobes (2012-01-10 16:34:25+00:00)
Title: Macro {snippet} supports HTML attributes

Implementation requires to use the element name if attributes are defined (otherwise it will break horribly i guess).

`macros.snippet.phpt` fails, but it was already failing before this alternation.