Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

Commit

Permalink
Match URLs better (were collection trailing '<')
Browse files Browse the repository at this point in the history
  • Loading branch information
srynot4sale committed Mar 13, 2016
1 parent f709f75 commit 5f3649f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/web/static/global.js
Expand Up @@ -509,7 +509,7 @@ var api_call = function(action, options) {
item = jarvis_escape(item);

// Make links clickable
var html = item.replace(/(https?:\/\/[^ ]+)/g, "<a href=\"$1\" target=\"_blank\">$1</a>");
var html = item.replace(/(https?:\/\/[^<\s]+)/g, "<a href=\"$1\" target=\"_blank\">$1</a>");

li.html(html);

Expand Down

0 comments on commit 5f3649f

Please sign in to comment.