Skip to content

Commit 0cf6f52

Browse files
committed
Link regex rule update (Vivify-Ideas#20)
* Updated the link regex rule to allow ; in url
1 parent c2a471d commit 0cf6f52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/link.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const LINK_REGEX = /\[(.+?)\]\(((?:(http[s]?|ftp):\/{2})?[\w\/\-+?#=.:!%&]+)\)/g
1+
const LINK_REGEX = /\[(.+?)\]\(((?:(http[s]?|ftp):\/{2})?[\w\/\-+?#=.:;!%&]+)\)/g
22

33
export class Link {
44
static get RULE_NAME () { return 'link' }

0 commit comments

Comments
 (0)