remark-mdx
Advanced tools
Comparing version 1.0.23 to 1.0.25
@@ -27,5 +27,6 @@ // Source copied and then modified from | ||
const otherElementOpenExpression = new RegExp(openCloseTag.source + '\\s*$') | ||
const fragmentOpenExpression = /^<>/ | ||
function blockHtml(eat, value, silent) { | ||
const blocks = '[a-z\\.]+(\\.){0,1}[a-z\\.]' | ||
const blocks = '[a-z\\.]*(\\.){0,1}[a-z][a-z0-9\\.]*' | ||
const elementOpenExpression = new RegExp( | ||
@@ -35,2 +36,3 @@ '^</?(' + blocks + ')(?=(\\s|/?>|$))', | ||
) | ||
const length = value.length | ||
@@ -53,2 +55,3 @@ let index = 0 | ||
[elementOpenExpression, elementCloseExpression, true], | ||
[fragmentOpenExpression, elementCloseExpression, true], | ||
[otherElementOpenExpression, elementCloseExpression, false] | ||
@@ -55,0 +58,0 @@ ] |
{ | ||
"name": "remark-mdx", | ||
"version": "1.0.23", | ||
"version": "1.0.25", | ||
"description": "Support import, export, and JSX in markdown", | ||
@@ -50,3 +50,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "e49ab7d87373a489c6e020fd15a490a7d2d44782" | ||
"gitHead": "534012cfe08f85342b4709936496c85be1d56e85" | ||
} |
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
13662
316