obsidian-custom-classes icon indicating copy to clipboard operation
obsidian-custom-classes copied to clipboard

Images are being rendered as span tags

Open p2kmgcl opened this issue 1 year ago • 2 comments

When using class:something before an embedded image (![[some-image.jpg]]), the image element is rendered as a span.

Steps to reproduce the behavior:

  1. Create a note
  2. Embed some image file
  3. Add class:something before it.

Expected behavior There should be an <img> tag inside <div class="something">

Screenshots

image

image

Device:

  • Operating System: Linux
  • Obsidian version: 1.1.16

p2kmgcl avatar Mar 14 '23 21:03 p2kmgcl