Update default bold filter to disallow impersonation

This commit is contained in:
calzoneman 2013-05-16 00:01:07 -04:00
parent a8d8f346d4
commit 5f41217595
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ var Channel = function(name) {
};
this.filters = [
new Filter("monospace", "`([^`]+)`", "g", "<code>$1</code>"),
new Filter("bold", "\\*([^\\*]+)\\*", "g", "<strong>$1</strong>"),
new Filter("bold", "(.)\\*([^\\*]+)\\*", "g", "$1<strong>$2</strong>"),
new Filter("italic", "(^| )_([^_]+)_", "g", "$1<em>$2</em>"),
new Filter("inline spoiler", "\\[spoiler\\](.*)\\[\\/spoiler\\]", "ig", "<span class=\"spoiler\">$1</span>")
];