From 98cebb5b33d94294fc555ce8e4b07f8f41d2c76d Mon Sep 17 00:00:00 2001 From: Serafeim Papastefanos Date: Thu, 4 Jul 2019 08:45:13 +0300 Subject: [PATCH] Improve behavior with links --- index.html | 2 +- js/filters.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index bd587f5..92c7594 100644 --- a/index.html +++ b/index.html @@ -336,7 +336,7 @@ npm run build-electron-{windows, darwin, linux} <>
+ --> diff --git a/js/filters.js b/js/filters.js index 8383769..9e5db35 100644 --- a/js/filters.js +++ b/js/filters.js @@ -239,8 +239,7 @@ weechat.filter('prefixlimit', function() { weechat.filter('codify', function() { return function(text) { - var re = /(`[^``]+`)/g; - + var re = /(`.+?`)/g; return text.replace(re, function(z) { var rr = '' + z.slice(1, z.length-1) + ''; return rr;