Fix linting errors
This commit is contained in:
parent
aaa49b7f5b
commit
8067e3973e
|
@ -239,12 +239,12 @@ 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 = '<code>' + z.slice(1, z.length-1) + '</code>';
|
||||
return rr;
|
||||
})
|
||||
});
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue