blacksmithgu / obsidian-dataview

A data index and query language over Markdown files, for https://obsidian.md/.
https://blacksmithgu.github.io/obsidian-dataview/
MIT License
6.94k stars 411 forks source link

Bug report - inlinefield rendered inside a inline code and it make a mess #2284

Open perymimon opened 6 months ago

perymimon commented 6 months ago

What happened?

text pattern like the next one ,that used by my custom plugin : "button:log| - Read {{bookName}} until page (page::@@bookPage) >#Activities" Render the inline-field that write into the pattern event the text is surrounded into inline code.

But the real mess is in Render Mode.

I render a <button title="- Read {{bookName}} until page (page::@@bookPage) >#Activities ">log</button> but dataview come after and change it to :

<button class="live-form" title="button:log| - Read {{bookName}} until page 
  <span class=" dataview="" inline-field"="">
    <span class="dataview inline-field-standalone-value" id="dataview-inline-field-0">
 <span>@@bookPage</span></span> &gt;#Activities "&gt;log
</button>

The miss of the " in the title is in the source

Dataview Version

0.5.66

Obsidian Version

1.4.16

OS

Windows

GottZ commented 6 months ago

can confirm. inline has some weird issues.

related: #2300