Skip to content

Commit

Permalink
Fix a small bug in _includes/responsive_img.html
Browse files Browse the repository at this point in the history
Correctly fixes the issue mentioned in alshedivat#471.
  • Loading branch information
alshedivat authored and semicolonsnet committed Oct 24, 2022
1 parent f63a9f5 commit 72992dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/responsive_img.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
{% endfor %}
{% endcapture %}

<img {% if class %}class="{{ class }}"{% endif %} src="{{ largest.path | relative_url }}" srcset="{{ srcset | strip_newlines }}/ {{ path }} {{ original.width }}w" {% if alt %}alt="{{ alt }}"{% endif %} {% if title %}title="{{ title }}"{% endif %} {% if zoomable %}data-zoomable{% endif %}/>
<img {% if class %}class="{{ class }}"{% endif %} src="{{ largest.path | relative_url }}" srcset="{{ srcset | strip_newlines }} {{ path | relative_url }} {{ original.width }}w" {% if alt %}alt="{{ alt }}"{% endif %} {% if title %}title="{{ title }}"{% endif %} {% if zoomable %}data-zoomable{% endif %}/>

0 comments on commit 72992dd

Please sign in to comment.