From 6029d1a1e86bdc3259c174847743c1d1ee7423ea Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Thu, 14 May 2026 17:56:49 -0500 Subject: fix description parsing --- static/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'static/index.js') diff --git a/static/index.js b/static/index.js index 6505a7e..7f02f7b 100644 --- a/static/index.js +++ b/static/index.js @@ -42,8 +42,9 @@ function createAnchors(text) { function _a(href, innerText) { return `${innerText ?? href}` } - const urlRegex = /https?:\/\/[a-z0-9#$%&-./=?@_~]+[a-z0-9/]/gi - const channelRegex = /@[a-z0-9.-_]+/gi + + const urlRegex = /https?:\/\/[a-z0-9#$%&-./:=?@_~]+[a-z0-9/]/gi + const channelRegex = /[^/]@[a-z0-9.-_]+/gi const timestampRegex = /[0-9]+:[0-9]+/g return text -- cgit v1.2.3