obsidian-spaced-repetition icon indicating copy to clipboard operation
obsidian-spaced-repetition copied to clipboard

[BUG] Multiline missing space bug

Open 4Source opened this issue 9 months ago • 1 comments

Describe the bug I currently discovered a really strange behavior. That reuigeres a specific note structure. When I create a multi line flashcard, forgot the leading new line in front of it and also the note starts with a tag I get an additional entry for the decks named like the tag with one flashcard containing the complete note.

To Reproduce Steps to reproduce the behavior:

  1. Create note starting with a tag e.g. #Test that is not listed in Flashcards tags could contain anything after the Tag also nothing
  2. Add a tag that is listed in Flashcards tags
  3. Add a multi line flashcard without a new line between the tag above
  4. Open Review flashcards view
  5. See additional deck named like tag #Test

Expected behavior I know that the multi line flashcards need the new line between the tag for separating just wanted to share this. Because I think this is really strange behavior.

Screenshots Without new line image image

With new line image image

image

Versions (please complete the following information):

  • OS: Win10
  • Obsidian version: 1.5.12
  • Plugin version: 1.12.4
  • Installer version: '5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.4.16 Chrome/114.0.5735.289 Electron/25.8.1 Safari/537.36'

Additional context

#Test Test text
# Flashcards
#flashcards
Multiline
??
Answer

4Source avatar Apr 24 '24 18:04 4Source

Thanks for the detailed report, yes very odd. I can reproduce the issue so that's a good start!

ronzulu avatar Apr 25 '24 00:04 ronzulu