Introduce Original image format #6

Merged
mravi merged 2 commits from original-image-format into master 2022-07-28 15:19:03 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 6818359e1a - Show all commits

View File

@ -9,7 +9,7 @@ class OriginalImageFormat(Format):
default_html = super().image_to_html(image, alt_text, extra_attributes)
return format_html("{}<figcaption>{}</figcaption>", default_html, alt_text)
return format_html("{}", default_html, alt_text)
register_image_format(