Skip to content

Commit

Permalink
Update inTextImg.html
Browse files Browse the repository at this point in the history
Fix Bad value 15px for attribute height on element img: Expected a digit but saw p instead.
  • Loading branch information
adityatelange authored and dunklecat committed Oct 9, 2022
1 parent 73ba1f8 commit 7b06395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/inTextImg.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
{{- $height := (.Get "height") }}
{{- $alt := (.Get "alt") }}

<img class="in-text" height="{{ $height | default `15px` }}" src="{{$Img}}" alt="{{$alt}}">
<img class="in-text" height="{{ $height | default `15` }}" src="{{$Img}}" alt="{{$alt}}">

0 comments on commit 7b06395

Please sign in to comment.