From 17175875870bd7e621dd6d3882d037d0832d37ad Mon Sep 17 00:00:00 2001 From: Serafeim Papastefanos Date: Thu, 4 Jul 2019 14:10:41 +0300 Subject: [PATCH] Small codify improvements --- css/glowingbear.css | 2 ++ js/filters.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/css/glowingbear.css b/css/glowingbear.css index 65a89b8..ca11870 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -929,4 +929,6 @@ img.emojione { code { padding: 0px 2px; + color: #444; + border: 1pt solid #444; } \ No newline at end of file diff --git a/js/filters.js b/js/filters.js index 9e5db35..a1334a7 100644 --- a/js/filters.js +++ b/js/filters.js @@ -241,7 +241,7 @@ weechat.filter('codify', function() { return function(text) { var re = /(`.+?`)/g; return text.replace(re, function(z) { - var rr = '' + z.slice(1, z.length-1) + ''; + var rr = '`' + z.slice(1, z.length-1) + '`'; return rr; }); };