Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

[Bug]: Blank line inserted at top of file every time inline value edited in db table #504

@miscelly

Description

@miscelly

Contact Details

No response

What happened?

I use inline variables instead of YAML for my db values. Whenever I make a change to a value using the plugin there is a blank line inserted at the top of the changed file. This is consistently reproducible.

As an example, if I have a file that contains only this text:

variable1:: value1 

and I edit value1 in a db table, a blank line will be inserted at the top of the file. If I change the value again in the table, another blank line is inserted at the top. I tried changing the "Select position for new inline fields" to "bottom" even though I wasn't adding any new fields, but that didn't fix the issue. It doesn't matter if there is other text above or below the inline variable.

I'm using Obsidian version 1.0.0. The OS is Windows 10. I did searches here for "line," "blank," etc. but didn't see this mentioned.

What platform were you using?

Desktop

Version of the plugin

2.7.1

Relevant log output

No response

Are you using the latest version of the plugin in your Obsidian vault?

  • I have verified that I am on the latest version

Are you check if there is a similar issue?

  • I have verified that there are not similar issues

Edit: Updated to be more concise.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Status

<g-emoji fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2705.png" alias="white_check_mark" class="g-emoji">✅</g-emoji> Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions