You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a detail, but since the default template (picture.html) uses "{{ instance.attributes_str }}" after already outputting a potential "{{ instance.attributes.alt }}", it gives a duplicated "alt" attribute on final html tag.
I guess it could be solved just by tweaking the "excluded_keys" parameter of the AbstractPicture model's "attributes" field?
Tested on djangocms-picture==2.4.0, but today's master has identical code on these parts so I guess this tiny bug is still there.
The text was updated successfully, but these errors were encountered:
It's a detail, but since the default template (picture.html) uses "{{ instance.attributes_str }}" after already outputting a potential "{{ instance.attributes.alt }}", it gives a duplicated "alt" attribute on final html tag.
I guess it could be solved just by tweaking the "excluded_keys" parameter of the AbstractPicture model's "attributes" field?
Tested on djangocms-picture==2.4.0, but today's master has identical code on these parts so I guess this tiny bug is still there.
The text was updated successfully, but these errors were encountered: