drop dead code
This commit is contained in:
parent
2c94713ba0
commit
35994e81c6
@ -34,10 +34,6 @@ var hesc = function(s) {
|
||||
return s.toString().replace(/[&<>'"]/g, function(s) { return filter[s]; });
|
||||
};
|
||||
|
||||
var nl2br = function(str) { // thanks php.js!
|
||||
return (str+'').replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g, '$1<br>$2');
|
||||
};
|
||||
|
||||
var linkify = function(str) {
|
||||
return str.replace(
|
||||
/(https?:\/\/[^\s<]+)/g, "<a target='_blank' href=\"$1\">$1</a>"
|
||||
|
Loading…
Reference in New Issue
Block a user