Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Capture 'insert after' block with new line (\n) & 'Create line if not found' keeps creating the new line #742

Open
l-t-k opened this issue Oct 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@l-t-k
Copy link

l-t-k commented Oct 3, 2024

Describe the bug
The mechanism that should find the 'insert after' block isn't working properly. Apparently it can't handle blocks with a new line (see screenshots). Therefore, it keeps inserting the 'insert after' block again and again in the same file, because 'create line if not found' is also enabled.

To Reproduce
Tried multiple settings but it is related to the \n. Tried with and without emojis, also with and without the ****, but doesn't make any difference. 100% related to the newline (\n).

Expected behavior
When an existing 'insert after' is found (after running the macro for the 2nd time on the same days in this case), the macro should capture the new task at the end of the section instead of creating a new insert after block.

Screenshots
QuickAdd settings:
image

WRONG - After running the macro three times this day:
image

CORRECT - What I EXPECTED to see:
image

Desktop (please complete the following information):

  • OS: Windows 11
  • Firefox
@l-t-k l-t-k added the bug Something isn't working label Oct 3, 2024
@l-t-k l-t-k changed the title [BUG] Capture 'insert after' block with new line (\n) & 'Create line if not found' is not working [BUG] Capture 'insert after' block with new line (\n) & 'Create line if not found' keeps creating the new line Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant