@zhennann/markdown
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -34,5 +34,8 @@ const markdown_it = require('markdown-it'); | ||
// content | ||
const content = tokenContent.content; | ||
let content = tokenContent.content; | ||
// clear | ||
tokenContent.content = ''; | ||
tokenContent.children = []; | ||
// for safe | ||
content = JSON.stringify(JSON.parse(content), null, 2); | ||
// element | ||
@@ -39,0 +42,0 @@ const id = `aplayer-${(new Date()).getTime()}${idx}`; |
{ | ||
"name": "@zhennann/markdown", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "markdown", | ||
@@ -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
16582
185