bunki 0.3.7 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +16 -2
- package/dist/index.js +16 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -32743,7 +32743,9 @@ function convertMarkdownToHtml(markdownContent) {
|
|
|
32743
32743
|
"h2",
|
|
32744
32744
|
"span",
|
|
32745
32745
|
"iframe",
|
|
32746
|
-
"div"
|
|
32746
|
+
"div",
|
|
32747
|
+
"video",
|
|
32748
|
+
"source"
|
|
32747
32749
|
]),
|
|
32748
32750
|
allowedAttributes: {
|
|
32749
32751
|
...import_sanitize_html.default.defaults.allowedAttributes,
|
|
@@ -32753,7 +32755,19 @@ function convertMarkdownToHtml(markdownContent) {
|
|
|
32753
32755
|
pre: ["class"],
|
|
32754
32756
|
span: ["class", "style"],
|
|
32755
32757
|
iframe: ["src", "frameborder", "allow", "allowfullscreen", "loading"],
|
|
32756
|
-
div: ["class"]
|
|
32758
|
+
div: ["class"],
|
|
32759
|
+
video: [
|
|
32760
|
+
"src",
|
|
32761
|
+
"controls",
|
|
32762
|
+
"width",
|
|
32763
|
+
"height",
|
|
32764
|
+
"autoplay",
|
|
32765
|
+
"loop",
|
|
32766
|
+
"muted",
|
|
32767
|
+
"preload",
|
|
32768
|
+
"poster"
|
|
32769
|
+
],
|
|
32770
|
+
source: ["src", "type"]
|
|
32757
32771
|
},
|
|
32758
32772
|
allowedClasses: {
|
|
32759
32773
|
code: ["*"],
|
package/dist/index.js
CHANGED
|
@@ -30388,7 +30388,9 @@ function convertMarkdownToHtml(markdownContent) {
|
|
|
30388
30388
|
"h2",
|
|
30389
30389
|
"span",
|
|
30390
30390
|
"iframe",
|
|
30391
|
-
"div"
|
|
30391
|
+
"div",
|
|
30392
|
+
"video",
|
|
30393
|
+
"source"
|
|
30392
30394
|
]),
|
|
30393
30395
|
allowedAttributes: {
|
|
30394
30396
|
...import_sanitize_html.default.defaults.allowedAttributes,
|
|
@@ -30398,7 +30400,19 @@ function convertMarkdownToHtml(markdownContent) {
|
|
|
30398
30400
|
pre: ["class"],
|
|
30399
30401
|
span: ["class", "style"],
|
|
30400
30402
|
iframe: ["src", "frameborder", "allow", "allowfullscreen", "loading"],
|
|
30401
|
-
div: ["class"]
|
|
30403
|
+
div: ["class"],
|
|
30404
|
+
video: [
|
|
30405
|
+
"src",
|
|
30406
|
+
"controls",
|
|
30407
|
+
"width",
|
|
30408
|
+
"height",
|
|
30409
|
+
"autoplay",
|
|
30410
|
+
"loop",
|
|
30411
|
+
"muted",
|
|
30412
|
+
"preload",
|
|
30413
|
+
"poster"
|
|
30414
|
+
],
|
|
30415
|
+
source: ["src", "type"]
|
|
30402
30416
|
},
|
|
30403
30417
|
allowedClasses: {
|
|
30404
30418
|
code: ["*"],
|
package/package.json
CHANGED