torchbox/wagtail — pull request #294 by sixpearls (2014-06-04 18:42:05+00:00)
Title: adding custom img attrs to image_tags

I did not create a custom TestCase for it. I also trust the template author not add ``width``, ``height``, ``alt``, or ``src`` custom-attributes, which would also get added to the ```` tag as duplicates.

I could handle syntax errors better (for example, not raising an error on any duplicate attr-names including the default ones above), but this should work for basic usage.

This addresses #284