mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Auto-link URLs that are inside parentheses
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user