diff --git a/publichealth/home/models/image_formats.py b/publichealth/home/models/image_formats.py index a625261..ebf4968 100644 --- a/publichealth/home/models/image_formats.py +++ b/publichealth/home/models/image_formats.py @@ -9,7 +9,7 @@ class OriginalImageFormat(Format): default_html = super().image_to_html(image, alt_text, extra_attributes) - return format_html("{}
{}
", default_html, alt_text) + return format_html("{}", default_html, alt_text) register_image_format(