mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
parent
368f0b6309
commit
605d8b7b05
BIN
dist/showdown.js
vendored
BIN
dist/showdown.js
vendored
Binary file not shown.
BIN
dist/showdown.js.map
vendored
BIN
dist/showdown.js.map
vendored
Binary file not shown.
BIN
dist/showdown.min.js
vendored
BIN
dist/showdown.min.js
vendored
Binary file not shown.
BIN
dist/showdown.min.js.map
vendored
BIN
dist/showdown.min.js.map
vendored
Binary file not shown.
|
@ -25,6 +25,10 @@ var showdown = {},
|
||||||
ghCompatibleHeaderId: true,
|
ghCompatibleHeaderId: true,
|
||||||
ghMentions: true
|
ghMentions: true
|
||||||
},
|
},
|
||||||
|
original: {
|
||||||
|
noHeaderId: true,
|
||||||
|
ghCodeBlocks: false
|
||||||
|
},
|
||||||
vanilla: getDefaultOpts(true),
|
vanilla: getDefaultOpts(true),
|
||||||
allOn: allOptionsOn()
|
allOn: allOptionsOn()
|
||||||
};
|
};
|
||||||
|
|
|
@ -40,8 +40,8 @@ showdown.subParser('autoLinks', function (text, options, globals) {
|
||||||
b = b || '';
|
b = b || '';
|
||||||
mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);
|
mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);
|
||||||
if (options.encodeEmails) {
|
if (options.encodeEmails) {
|
||||||
mail = showdown.helper.encodeEmailAddress(mail);
|
|
||||||
href = showdown.helper.encodeEmailAddress(href + mail);
|
href = showdown.helper.encodeEmailAddress(href + mail);
|
||||||
|
mail = showdown.helper.encodeEmailAddress(mail);
|
||||||
} else {
|
} else {
|
||||||
href = href + mail;
|
href = href + mail;
|
||||||
}
|
}
|
||||||
|
|
0
test/cases/obfuscated-emails.html
Normal file
0
test/cases/obfuscated-emails.html
Normal file
0
test/cases/obfuscated-emails.md
Normal file
0
test/cases/obfuscated-emails.md
Normal file
Loading…
Reference in New Issue
Block a user