Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanarijit committed Feb 9, 2024
1 parent 9bff6ef commit 8e3c9a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tiptapy/templates/image.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{%- if node.attrs.src -%}
{%- set caption = node.attrs.caption|trim|escape -%}
{%- set alt = node.attrs.alt|trim -%}
{%- set height = node.attrs.height -%}
{%- set width = node.attrs.width -%}
{%- set alt = node.attrs.alt|trim|escape -%}
{%- set height = node.attrs.height|str|escape -%}
{%- set width = node.attrs.width|str|escape -%}
{%- set image_url = node.attrs.src.image|trim|escape -%}
{%- set image_type = url2mime(image_url) -%}
{%- set fallback_url = node.attrs.src.fallback|trim|escape -%}
Expand Down

0 comments on commit 8e3c9a7

Please sign in to comment.