Open dalewking opened 2 years ago
Describe the bug When using the template to insert an <img> tag it adds a </img> which is ignored by obsidian and is visible in the document
<img>
</img>
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect to see just the image
Screenshots Hitting the <img> button gives you a template like this:
<img src="" alt="" width="" height=""></img>
If I fill in fields of the template e.g.:
<img src="https://thumbs.dreamstime.com/b/beautiful-rain-forest-ang-ka-nature-trail-doi-inthanon-national-park-thailand-36703721.jpg" alt="" width="" height="100"></img>
I see this in the presentation version:
Additional context Since obsidian renders based just on the <img> tag I suggest you change your template to be:
<img src="" alt="" width="" height=""/>
Describe the bug When using the template to insert an
<img>
tag it adds a</img>
which is ignored by obsidian and is visible in the documentTo Reproduce Steps to reproduce the behavior:
<img>
button under HTML in the side panel</img>
after the imageExpected behavior I expect to see just the image
Screenshots Hitting the
<img>
button gives you a template like this:If I fill in fields of the template e.g.:
I see this in the presentation version:
Additional context Since obsidian renders based just on the
<img>
tag I suggest you change your template to be: