diff --git a/src/utils/ticket-events.ts b/src/utils/ticket-events.ts index fab3eb0..2cda680 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;