mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
post-merge (abackstrom) remove extraneous var declaration.
This commit is contained in:
parent
8a8820634e
commit
b8c979653e
|
@ -290,7 +290,7 @@ var _StripLinkDefinitions = function(text) {
|
|||
// attacklab: sentinel workarounds for lack of \A and \Z, safari\khtml bug
|
||||
text += "~0";
|
||||
|
||||
var text = text.replace(/^[ ]{0,3}\[(.+)\]:[ \t]*\n?[ \t]*<?(\S+?)>?[ \t]*\n?[ \t]*(?:(\n*)["(](.+?)[")][ \t]*)?(?:\n+|(?=~0))/gm,
|
||||
text = text.replace(/^[ ]{0,3}\[(.+)\]:[ \t]*\n?[ \t]*<?(\S+?)>?[ \t]*\n?[ \t]*(?:(\n*)["(](.+?)[")][ \t]*)?(?:\n+|(?=~0))/gm,
|
||||
function (wholeMatch,m1,m2,m3,m4) {
|
||||
m1 = m1.toLowerCase();
|
||||
g_urls[m1] = _EncodeAmpsAndAngles(m2); // Link IDs are case-insensitive
|
||||
|
|
Loading…
Reference in New Issue
Block a user