Skip to content

Commit

Permalink
fix(parser): support unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Feb 24, 2024
1 parent 21ed0e1 commit 7ed127a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function findBlocks(md: string): Block[] {
}

export function containsAutomd(md: string) {
return /^<!--\s*automd:/gims.test(md);
return /^<!--\s*automd:/gimsu.test(md);
}

export function parseRawArgs(rawArgs: string) {
Expand Down

0 comments on commit 7ed127a

Please sign in to comment.