I want to display a property using an inline field. The field code is here:
they came to was `=this.planet`, which
The property value is the string “Neptune”. When in Preview and Reading mode it displays like this, with a line break after the field value “Neptune”. It does this for every inline field, and I can’t figure out why.
When I look at the HTML in Developer mode, it shows a “<br>” tag after the value. I don’t know where it’s getting that from.
I tried your example, and I don’t have a problem. Maybe it is theme-related. Once, I had a similar problem (with <br>), and I solved it with a CSS snippet:
I just updated Dataview to 0.5.68. Obsidian is 1.8.9. I disabled a bunch of CSS snippets that were active.
The weird thing is I have another vault, with a different set of plugins active, and the problem doesn’t appear.
I just disabled all the plugins I have installed, then reenabled them one by one. I reenabled Dataview, and the problem has gone away! I don’t know if it was an issue with another plugin - I’ll watch it if and when I reenable the other plugins.