From 9bbcdb4f9c8506a544f57833fcba5a0d22a5b99c Mon Sep 17 00:00:00 2001 From: umaranis Date: Tue, 26 Mar 2024 22:21:11 +1100 Subject: [PATCH] Revert "bug: Fix hashtag regex blocking transform to heading" This reverts commit 5ae32f2ddd5227d23477186a83593f025486fdb6. --- packages/svelte-lexical/src/core/plugins/HashtagPlugin.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/svelte-lexical/src/core/plugins/HashtagPlugin.svelte b/packages/svelte-lexical/src/core/plugins/HashtagPlugin.svelte index 57fe8c55..b6ae9a22 100644 --- a/packages/svelte-lexical/src/core/plugins/HashtagPlugin.svelte +++ b/packages/svelte-lexical/src/core/plugins/HashtagPlugin.svelte @@ -222,7 +222,7 @@ const hashtagAlpha = '[' + alpha + ']'; const hashtagAlphanumeric = '[' + alphanumeric + ']'; - const hashtagBoundary = '^|$|[^&/' + alphanumeric + hashChars + ']'; + const hashtagBoundary = '^|$|[^&/' + alphanumeric + ']'; const hashCharList = '[' + hashChars + ']'; // A hashtag contains characters, numbers and underscores,