@wdprlib/render 1.3.0 → 1.3.3

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/README.md CHANGED
@@ -51,6 +51,7 @@ const html = renderToHtml(ast, {
51
51
 
52
52
  - [@wdprlib/ast](https://www.npmjs.com/package/@wdprlib/ast) - AST type definitions
53
53
  - [@wdprlib/parser](https://www.npmjs.com/package/@wdprlib/parser) - Wikidot markup parser
54
+ - [@wdprlib/decompiler](https://www.npmjs.com/package/@wdprlib/decompiler) - HTML to Wikidot decompiler
54
55
  - [@wdprlib/runtime](https://www.npmjs.com/package/@wdprlib/runtime) - Client-side runtime
55
56
 
56
57
  ## License
package/dist/index.cjs CHANGED
@@ -4314,7 +4314,9 @@ var SANITIZE_CONFIG = {
4314
4314
  allowedTags: ["iframe"],
4315
4315
  allowedAttributes: {
4316
4316
  iframe: [
4317
+ "class",
4317
4318
  "src",
4319
+ "style",
4318
4320
  "allow",
4319
4321
  "allowfullscreen",
4320
4322
  "frameborder",
package/dist/index.js CHANGED
@@ -4262,7 +4262,9 @@ var SANITIZE_CONFIG = {
4262
4262
  allowedTags: ["iframe"],
4263
4263
  allowedAttributes: {
4264
4264
  iframe: [
4265
+ "class",
4265
4266
  "src",
4267
+ "style",
4266
4268
  "allow",
4267
4269
  "allowfullscreen",
4268
4270
  "frameborder",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdprlib/render",
3
- "version": "1.3.0",
3
+ "version": "1.3.3",
4
4
  "description": "HTML renderer for Wikidot markup",
5
5
  "keywords": [
6
6
  "html",
@@ -39,7 +39,7 @@
39
39
  "access": "public"
40
40
  },
41
41
  "dependencies": {
42
- "@wdprlib/ast": "1.2.0",
42
+ "@wdprlib/ast": "1.2.1",
43
43
  "domhandler": "^5.0.3",
44
44
  "htmlparser2": "^10.0.0",
45
45
  "sanitize-html": "^2.14.0",