diff --git a/src/utils/ticket-events.ts b/src/utils/ticket-events.ts index b212e2b..cde8d1f 100644 --- a/src/utils/ticket-events.ts +++ b/src/utils/ticket-events.ts @@ -78,7 +78,7 @@ const linkReplacers = [ } ]; -const urlRegex = new RegExp('"((?:[\\S]| )+?)":\\[?((?:https?:\\/\\/[\\w\\d.\\/?=#]+)|\\/[\\w\\d.\\/?=#]+)\\]?', 'gi'); +const urlRegex = new RegExp('"((?:[\\S]| )+?)":\\[?((?:https?:\\/\\/[\\w\\d.\\/?=#&%]+)|\\/[\\w\\d.\\/?=#]+)\\]?', 'gi'); const MAX_DESCRIPTION_LENGTH = 500;