diff --git a/front-end/components/bloom.mjs b/front-end/components/bloom.mjs index 0b4166c..59a18a2 100644 --- a/front-end/components/bloom.mjs +++ b/front-end/components/bloom.mjs @@ -37,7 +37,8 @@ const createBloom = (template, bloom) => { function _formatHashtags(text) { if (!text) return text; return text.replace( - /\B#[^#]+/g, + /\B#\w+/g, + // /\B#[^#]+/g, (match) => `${match}` ); } @@ -84,4 +85,4 @@ function _formatTimestamp(timestamp) { } } -export {createBloom}; +export { createBloom };