From 5a3d78a80230cd4ad67afa0966e63961a653077f Mon Sep 17 00:00:00 2001 From: kai-kea <32549549+kai-kea@users.noreply.github.com> Date: Tue, 27 Feb 2024 16:03:52 -0500 Subject: [PATCH] fix matching html content as obsidian tags addresses #536 This regex matches obsidian tag style `#my-tag` only if it's not part of an HTML expression, e.g. from #536, `'` will be matched and skipped over. --- src/note.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/note.ts b/src/note.ts index 17330c31..2347ba3b 100644 --- a/src/note.ts +++ b/src/note.ts @@ -12,7 +12,7 @@ const TAG_PREFIX:string = "Tags: " export const TAG_SEP:string = " " export const ID_REGEXP_STR: string = String.raw`\n?(?: