fix(anki): allow spaces in deck name

This commit is contained in:
arne314
2025-01-03 17:19:39 +01:00
parent 1b3aed2e15
commit 1ee5c2ae33
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ build-backend = "pdm.backend"
[project]
name = "typstar"
version = "1.1.0"
version = "1.1.1"
description = "Neovim plugin for efficient note taking in Typst"
authors = [
{ name = "arne314" }

View File

@@ -35,7 +35,7 @@ ts_flashcard_query = """
ts_deck_query = """
((comment) @deck)
"""
deck_regex = re.compile(r"\W+ANKI:\s*(\S*)")
deck_regex = re.compile(r"\W+ANKI:\s*([\S ]*)")
class FlashcardParser: