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

Inline query rendering broken when using Tasks plugin #1566

Open wangmeng99 opened 1 year ago

wangmeng99 commented 1 year ago

What happened?

inline Dataview query is not rendered when Task plugin is turned on.

For example, the following set up won't render the actual file name when Task plugin is on; however turning off the task plugin (and restart Obsidian) can have it rendered correctly.

DQL

No response

JS

- [ ] #task `=this.file.name`

Dataview Version

0.5.47

Obsidian Version

1.0

OS

MacOS

AB1908 commented 1 year ago

Isn't this more of a conflict with tasks? This isn't particularly easy to solve from the DV side I imagine.

wangmeng99 commented 1 year ago

The thing is, it works fine in editing mode but it breaks in reading mode. It looks like somehow the inline expression wasn't processed at all. Because Tasks plugin should not care about the dataview syntax, I wonder if this is something at Dataview side.

Screen Shot 2022-11-12 at 9 03 52 PM Screen Shot 2022-11-12 at 9 03 59 PM