From f92a4e2764982ace46474a82af4ad25bee9d8823 Mon Sep 17 00:00:00 2001 From: William Moore Date: Mon, 10 Jun 2024 13:54:56 +0100 Subject: [PATCH] linkify supports urls that include $ character --- .../static/webclient/javascript/ome.webclient.actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omeroweb/webclient/static/webclient/javascript/ome.webclient.actions.js b/omeroweb/webclient/static/webclient/javascript/ome.webclient.actions.js index 744b09177e..8612e6f384 100644 --- a/omeroweb/webclient/static/webclient/javascript/ome.webclient.actions.js +++ b/omeroweb/webclient/static/webclient/javascript/ome.webclient.actions.js @@ -61,7 +61,7 @@ OME.getURLParameter = function(key) { }; var linkify = function(input) { - var regex = /(https?|ftp|file):\/\/[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]/g; + var regex = /(https?|ftp|file):\/\/[-a-zA-Z0-9+&@#/%?=~_|!:,.;$]*[-a-zA-Z0-9+&@#/%=~_|$]/g; input = input.replace(regex, "$&"); return linkObjects(input); };