From 6fda1b9bb5ab6d54c71d545784ee8676ab0a8350 Mon Sep 17 00:00:00 2001 From: TzeMingHo Date: Thu, 11 Jun 2026 18:25:11 +0100 Subject: [PATCH] updated regex for formatHashtags in bloom.mjs --- front-end/components/bloom.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front-end/components/bloom.mjs b/front-end/components/bloom.mjs index 0b4166c3..38ffe750 100644 --- a/front-end/components/bloom.mjs +++ b/front-end/components/bloom.mjs @@ -37,7 +37,7 @@ const createBloom = (template, bloom) => { function _formatHashtags(text) { if (!text) return text; return text.replace( - /\B#[^#]+/g, + /#\w+/g, (match) => `${match}` ); }