obsidian-dataview icon indicating copy to clipboard operation
obsidian-dataview copied to clipboard

[Bug report] Rendering images in value when it also contains text

Open icytree opened this issue 3 years ago • 2 comments

What happened?

Adding text to any value containing an image seems to be breaking the rendering of the image in the dv table.

image

image

DQL

table field1
from #dummy🧸 

JS

No response

Dataview Version

0.5.26

Obsidian Version

0.14.6

OS

Windows

icytree avatar Jun 05 '22 14:06 icytree

It seems to be the normal behavior. Without text the value is parsing as a link to embed (because an image, it doesn't work with a link to other note); with text the value is parsing as a string.

mnvwvnm avatar Jun 05 '22 15:06 mnvwvnm

Oh ok I understand. I guess one work around is to change the value to a list like "Some text", ![[Pasted image...]]. It works great like this. Thanks !

As a side note, I would add that I just noticed that the Database folder plugin which works from the Dataview search engine does render it as I first expected it. Just putting it there in case it might be relevant.

image

icytree avatar Jun 05 '22 15:06 icytree