Patch italic regex to not kill URLs

:
This commit is contained in:
calzoneman 2013-03-30 01:16:41 -05:00
parent 7b11651e1e
commit 6ba6db1965
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ var Channel = function(name) {
this.filters = [ this.filters = [
[new RegExp("`([^`]+)`", "g"), "<code>$1</code>", true], [new RegExp("`([^`]+)`", "g"), "<code>$1</code>", true],
[new RegExp("\\*([^\\*]+)\\*", "g"), "<strong>$1</strong>", true], [new RegExp("\\*([^\\*]+)\\*", "g"), "<strong>$1</strong>", true],
[new RegExp("_([^_]+)_", "g"), "<em>$1</em>", true] [new RegExp(" _([^_]+)_", "g"), " <em>$1</em>", true]
]; ];
this.ipbans = {}; this.ipbans = {};