Skip to content
Snippets Groups Projects
Commit d13bb319 authored by deuce's avatar deuce
Browse files

Fix comment... we don't allow newlines no more.

parent 92dc23f5
Branches
Tags
No related merge requests found
......@@ -184,7 +184,7 @@ function idx_to_user(fromidx)
function make_links(str) {
str=str.replace(/(?:http|https|ftp|telnet|gopher|irc|news):\/\/[\w\-\.]+\.[a-zA-Z]+(?::[\w-+_%]*)?(?:\/(?:[\w\-._\?\,\/\\\+&;%\$#\=~\*]*))?/gi,function(str) {
// | Protocol |Hostname |TLD | Port | Path allow line breaks in path (will be stripped)
// | Protocol |Hostname |TLD | Port | Path |
var text=str;
var uri=str;
var extra='';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment