Update inTextImg.html

Fix Bad value 15px for attribute height on element img: Expected a digit but saw p instead.
This commit is contained in:
Aditya Telange 2022-07-17 00:19:07 +05:30 committed by GitHub
parent 575b0b0e38
commit 450e8867a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,4 +2,4 @@
{{- $height := (.Get "height") }} {{- $height := (.Get "height") }}
{{- $alt := (.Get "alt") }} {{- $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}}">