From fa029e0c094752805c87c26a1a2b7f0d7073bce8 Mon Sep 17 00:00:00 2001 From: jessopb <36554050+jessopb@users.noreply.github.com> Date: Mon, 1 Nov 2021 09:58:28 -0400 Subject: [PATCH] channel parsing bugfix (#199) --- ui/util/remark-lbry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/util/remark-lbry.js b/ui/util/remark-lbry.js index d478751cd..970879e4f 100644 --- a/ui/util/remark-lbry.js +++ b/ui/util/remark-lbry.js @@ -9,7 +9,7 @@ const mentionToken = '@'; // const mentionTokenCode = 64; // @ const invalidRegex = /[-_.+=?!@#$%^&*:;,{}<>\w/\\]/; -const mentionRegex = /@[^\s()"-_.+=?!@$%^&*;,{}<>/\\]*/gm; +const mentionRegex = /@[^\s()"_.+=?!@$%^&*;,{}<>/\\]*/gm; function handlePunctuation(value) { const protocolIndex = value.indexOf('lbry://') === 0 ? protocol.length - 1 : 0;