Skip to content

Images are being rendered as span tags #10

@p2kmgcl

Description

@p2kmgcl

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions