@vuepress/markdown
Advanced tools
Comparing version 2.0.0-beta.21 to 2.0.0-beta.22
@@ -15,3 +15,4 @@ "use strict"; | ||
const hoistTagsRegexp = new RegExp(`^<(${hoistTags.join('|')})(?=(\\s|>|$))`, 'i'); | ||
md.renderer.rules.html_block = (tokens, idx, _, env) => { | ||
const rawRule = md.renderer.rules.html_block; | ||
md.renderer.rules.html_block = (tokens, idx, options, env, self) => { | ||
const content = tokens[idx].content; | ||
@@ -24,5 +25,5 @@ const hoistedTags = env.hoistedTags || (env.hoistedTags = []); | ||
} | ||
return content; | ||
return rawRule(tokens, idx, options, env, self); | ||
}; | ||
}; | ||
exports.hoistTagsPlugin = hoistTagsPlugin; |
{ | ||
"name": "@vuepress/markdown", | ||
"version": "2.0.0-beta.21", | ||
"version": "2.0.0-beta.22", | ||
"description": "Markdown package of VuePress", | ||
@@ -40,3 +40,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "75cba56b201fd4124e6cfbf5d0baa913063c9b40" | ||
"gitHead": "8db8d235df8914c70c864ae3f3f66f93cfd1a457" | ||
} |
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
71988
86
1943