different link error handling
This commit is contained in:
parent
deb6ead9ae
commit
0f92418a49
@ -280,7 +280,9 @@ inline.lexer = function(str) {
|
||||
.replace(/^ +| +$/g, '');
|
||||
link = links[link];
|
||||
if (!link) {
|
||||
out += cap[0].replace(cap[1], inline.lexer(cap[1]));
|
||||
out += cap[0][0];
|
||||
str = cap[0].substring(1) + str;
|
||||
//out += cap[0].replace(cap[1], inline.lexer(cap[1]));
|
||||
break;
|
||||
}
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user