obsidian-dataview: Inline fields not rendered correctly in reading view
What happened?
If multiple of the same inline fields are separated by a single empty line, they are rendered incorrectly. To see this behavior, you must enable the “Enable Inline Field Highlighting in Reading View” option. Simple example:
(note::Note 1)
(note::Note 2)
(note::Note 3)
Can someone confirm this bug?
DQL
No response
JS
No response
Dataview Version
0.5.64
Obsidian Version
1.5.3
OS
Windows
About this issue
- Original URL
- State: open
- Created 5 months ago
- Comments: 15 (10 by maintainers)
Commits related to this issue
- Corrected repeated rendering on inline fields in reading view See #2216 — committed to holroy/obsidian-dataview by holroy 5 months ago
@holroy Thank you for letting me know, and I’m sorry if my code introduced this bug. I will look into this within a few days.
We need to consolidate what works and what doesn’t work, so could some of you please test the following markdown and report back when values are collated together or not?
When running within the test-vault with only dataview running on the code from 0.5.66, I only get errors related to the following two cases:
Multiple fields in list - Reading mode
Multiple values in inline fields - Live preview
Could you please verify that you see the same behaviour, and please also state which version of Obsidian and which operating system you’re using. This test I’ve conducted on Win11 in Obsidian 1.5.11 (with 1.5.8 installer).