Fix bug with nested decks syntax identified as inline card #7

This commit is contained in:
reuseman 2020-12-21 22:28:33 +01:00
parent dc96c61c73
commit 683ee83d58

View File

@ -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]) {