mirror of
https://github.com/gosticks/flashcards-obsidian.git
synced 2025-10-16 12:05:33 +00:00
Fix bug with nested decks syntax identified as inline card #7
This commit is contained in:
parent
dc96c61c73
commit
683ee83d58
@ -128,6 +128,10 @@ export class Parser {
|
||||
let matches = [...file.matchAll(this.regex.cardsInlineStyle)]
|
||||
|
||||
for (let match of matches) {
|
||||
if (match[2].startsWith("cards-deck")) {
|
||||
continue
|
||||
}
|
||||
|
||||
let reversed: boolean = false
|
||||
let headingLevel = -1
|
||||
if (match[1]) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user