@wdprlib/parser 2.0.7 → 2.0.9

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/index.cjs CHANGED
@@ -4875,7 +4875,15 @@ var embedBlockRule = {
4875
4875
  };
4876
4876
 
4877
4877
  // packages/parser/src/parser/rules/block/iframe.ts
4878
- var ALLOWED_IFRAME_ATTRS = new Set(["width", "height", "style", "scrolling", "frameborder"]);
4878
+ var ALLOWED_IFRAME_ATTRS = new Set([
4879
+ "align",
4880
+ "class",
4881
+ "frameborder",
4882
+ "height",
4883
+ "scrolling",
4884
+ "style",
4885
+ "width"
4886
+ ]);
4879
4887
  function normalizeUrl(url) {
4880
4888
  return url.replace(/[\s\u0000-\u001f\u007f-\u009f]/g, "").toLowerCase();
4881
4889
  }
package/dist/index.js CHANGED
@@ -4820,7 +4820,15 @@ var embedBlockRule = {
4820
4820
  };
4821
4821
 
4822
4822
  // packages/parser/src/parser/rules/block/iframe.ts
4823
- var ALLOWED_IFRAME_ATTRS = new Set(["width", "height", "style", "scrolling", "frameborder"]);
4823
+ var ALLOWED_IFRAME_ATTRS = new Set([
4824
+ "align",
4825
+ "class",
4826
+ "frameborder",
4827
+ "height",
4828
+ "scrolling",
4829
+ "style",
4830
+ "width"
4831
+ ]);
4824
4832
  function normalizeUrl(url) {
4825
4833
  return url.replace(/[\s\u0000-\u001f\u007f-\u009f]/g, "").toLowerCase();
4826
4834
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdprlib/parser",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "Parser for Wikidot markup",
5
5
  "keywords": [
6
6
  "ast",