Remove unwanted code
This commit is contained in:
parent
bdff34cf2b
commit
6818359e1a
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue