From be3554557a15be3c0dabbf86650d47531d02745c Mon Sep 17 00:00:00 2001 From: enjoy15 Date: Tue, 16 Jun 2026 20:58:17 +0100 Subject: [PATCH] Updated hashtag formatter regex --- front-end/components/bloom.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front-end/components/bloom.mjs b/front-end/components/bloom.mjs index 0b4166c3..f770d18f 100644 --- a/front-end/components/bloom.mjs +++ b/front-end/components/bloom.mjs @@ -37,8 +37,8 @@ const createBloom = (template, bloom) => { function _formatHashtags(text) { if (!text) return text; return text.replace( - /\B#[^#]+/g, - (match) => `${match}` + /\B#[\w-]+/g, + (match) => `${match}` ); }