mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-28 08:48:04 +01:00
f4968de0f9
The `alt` attribute that was automatically generated as part of the `{% image %}` tag could not be overridden. If template authors passed their own `alt="..."` attribute in, two would be printed out instead of the default one being overridden. The relevant code has been refactored to build a dict of attributes, allowing the default set to be overridden, and then printing them using `flatatt`. Fixes #1933 |
||
---|---|---|
.. | ||
advanced_topics.rst | ||
index.rst | ||
using_images_outside_wagtail.rst | ||
using_in_templates.rst |