handle explicit mailto in autolinks
This commit is contained in:
parent
7df4585a81
commit
54975d7bcd
@ -312,7 +312,7 @@ inline.lexer = function(str) {
|
||||
break;
|
||||
case 'autolink':
|
||||
if (cap[2] === '@') {
|
||||
text = mangle(cap[1]);
|
||||
text = mangle(cap[1].split(':').pop());
|
||||
href = mangle('mailto:') + text;
|
||||
} else {
|
||||
text = escape(cap[1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user