Fix double-encoding of percent sign in autolink addon

This commit is contained in:
Kijin Sung 2017-01-03 09:45:55 +09:00
parent d31536159f
commit 1015ca1e30

View file

@ -53,7 +53,7 @@
p1 = match[1];
suffix = match[2];
}
return '<a href="' + encodeURI(p1) + '" target="_blank">' + p1 + '</a>' + suffix;
return '<a href="' + p1 + '" target="_blank">' + p1 + '</a>' + suffix;
});
$(textNode).before(dummy);