diff --git a/src/pages/Details.vue b/src/pages/Details.vue index f060dc81e..05eb84c17 100644 --- a/src/pages/Details.vue +++ b/src/pages/Details.vue @@ -9,7 +9,9 @@
{{ monitor.id }}
+

+
@@ -403,10 +405,10 @@ export default { processedDescription() { if (!this.monitor.description) { - return ''; + return ""; } - const urlPattern = /(\b(?:https?|ftp|file|smb|ssh|telnet|ldap|git):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi; + const urlPattern = /(\b(?:https?|ftp|file|smb|ssh|telnet|ldap|git):\/\/[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|])/gi; const processed = this.monitor.description.replace( urlPattern, url => `${this.escapeHtml(url)}`