rm extra p tag from render-image hook

This commit is contained in:
Aditya Telange 2021-03-16 13:29:53 +05:30
parent c353447d8e
commit 24f71d7f15
No known key found for this signature in database
GPG key ID: 82E844EF3DA99E77

View file

@ -1,3 +1 @@
<p>
<img loading="lazy" src="{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}" {{ end }} />
</p>
<img loading="lazy" src="{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}" {{ end }} />