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] cards missing when horizontal rule present in document #967

Closed
AdrianSkar opened this issue May 23, 2024 · 3 comments · Fixed by #970
Closed

[BUG] cards missing when horizontal rule present in document #967

AdrianSkar opened this issue May 23, 2024 · 3 comments · Fixed by #970
Labels
beta Included in beta release, https://github.com/st3v3nmw/obsidian-spaced-repetition/discussions/1011 bug Something isn't working

Comments

@AdrianSkar
Copy link

AdrianSkar commented May 23, 2024

All cards within a document disappear when there's a horizontal line (---) present in the document

To Reproduce
Steps to reproduce the behavior:

  1. Go to the end of the document
  2. Add a horizontal line (---) before the #flashcards hastag for example
  3. Reload
  4. See error

Expected behavior
Cards are kept regardless

Screenshots
Cards present:
image
Cards missing:
image

Versions (please complete the following information):

  • OS: Windows 10 64b
  • Obsidian version: 1.5.12
  • Plugin version: 1.12.4
  • If on desktop, Installer version: 5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.4.13 Chrome/114.0.5735.289 Electron/25.8.1 Safari/537.36

test-cards.md

@AdrianSkar AdrianSkar added the bug Something isn't working label May 23, 2024
@ronzulu
Copy link
Collaborator

ronzulu commented May 23, 2024

Hi @AdrianSkar thanks for letting us know.

To help us reproduce, could you please post the actual markdown file (attach to your post, not copy & paste)

Cheers
Ronny

@4Source
Copy link
Contributor

4Source commented May 23, 2024

Discovered similar issue but with --- inside a code block

@AdrianSkar
Copy link
Author

Hi @AdrianSkar thanks for letting us know.

To help us reproduce, could you please post the actual markdown file (attach to your post, not copy & paste)

Cheers Ronny

Sure! Thank you.

@ronzulu ronzulu added the beta Included in beta release, https://github.com/st3v3nmw/obsidian-spaced-repetition/discussions/1011 label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Included in beta release, https://github.com/st3v3nmw/obsidian-spaced-repetition/discussions/1011 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants