FIX: Auto-link URLs that are inside parentheses

This commit is contained in:
David McClure
2016-10-29 17:30:36 -07:00
parent 4d58a00387
commit 9bbab6e64e
2 changed files with 10 additions and 1 deletions

View File

@@ -500,7 +500,7 @@ function invalidBoundary(args, prev) {
if (args.wordBoundary && (!last.match(/\W$/))) { return true; }
if (args.spaceBoundary && (!last.match(/\s$/))) { return true; }
if (args.spaceOrTagBoundary && (!last.match(/(\s|\>)$/))) { return true; }
if (args.spaceOrTagBoundary && (!last.match(/(\s|\>|\()$/))) { return true; }
}
function countLines(str) {