mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Fix double-encoding of percent sign in autolink addon
This commit is contained in:
parent
d31536159f
commit
1015ca1e30
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@
|
||||||
p1 = match[1];
|
p1 = match[1];
|
||||||
suffix = match[2];
|
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);
|
$(textNode).before(dummy);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue