chhoumann / quickadd

QuickAdd for Obsidian
https://quickadd.obsidian.guide
MIT License
1.56k stars 139 forks source link

[BUG] "Insert at end of section" doesn't recognize leading tag #720

Closed wrayzheng closed 2 weeks ago

wrayzheng commented 3 months ago

Describe the bug With "Insert after" and "Insert at end of section" option enabled, it's expected to insert new content at the end of #Fleetings section.

image

If there are a tag at the beginning of a line, quickadd will insert new content before the line of that tag, splitting the original content at that section.

It seems that quickadd recognizes it as a heading.

image

To Reproduce Steps to reproduce the behavior:

  1. enable "Insert after" and "Insert at end of section" option
  2. write some content at the target section, with a tag independently at a line.
  3. trigger the quickadd capture
  4. new content is inserted before the tag, which is part of the section

Expected behavior Parse the leading tag correctly, and insert new content at the actual end of section.

Screenshots See above.

Desktop (please complete the following information):

github-actions[bot] commented 2 weeks ago

:tada: This issue has been resolved in version 1.11.4 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: