kopia lustrzana https://github.com/wagtail/wagtail
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 |