From 6ba6db1965b73393c4685555cbdf49581b3a128f Mon Sep 17 00:00:00 2001 From: calzoneman Date: Sat, 30 Mar 2013 01:16:41 -0500 Subject: [PATCH] Patch italic regex to not kill URLs : --- channel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channel.js b/channel.js index 7af331aa..e03947c8 100644 --- a/channel.js +++ b/channel.js @@ -45,7 +45,7 @@ var Channel = function(name) { this.filters = [ [new RegExp("`([^`]+)`", "g"), "$1", true], [new RegExp("\\*([^\\*]+)\\*", "g"), "$1", true], - [new RegExp("_([^_]+)_", "g"), "$1", true] + [new RegExp(" _([^_]+)_", "g"), " $1", true] ]; this.ipbans = {};