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

A dot doesn't include \r and \n

parent d772696d
No related branches found
No related tags found
No related merge requests found
...@@ -188,7 +188,7 @@ function make_links(str) { ...@@ -188,7 +188,7 @@ function make_links(str) {
var text=str; var text=str;
var uri=str; var uri=str;
var extra=''; var extra='';
var m=str.match(/^(.*?)((?:>|[\r\n,.\)])+)$/); var m=str.match(/^([\x00-\xff]*?)((?:>|[\r\n,.\)])+)$/);
if(m!=null) { if(m!=null) {
text=m[1]; text=m[1];
uri=m[1]; uri=m[1];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment