markdown-it-link-attributes
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -14,3 +14,3 @@ 'use strict' | ||
// otherwise, only return config if href matches the pattern set | ||
if (!config.pattern || config.pattern.test(href)) { | ||
if (!config.pattern || new RegExp(config.pattern).test(href)) { | ||
return config | ||
@@ -17,0 +17,0 @@ } |
{ | ||
"name": "markdown-it-link-attributes", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "A markdown-it plugin to configure the attributes for links", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8496