@readme/markdown 14.12.1 → 14.13.0

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.
@@ -28,6 +28,12 @@ export declare const STANDARD_HTML_TAGS: Set<string>;
28
28
  * neutralize or claim across blank lines must leave them alone.
29
29
  */
30
30
  export declare const HTML_TABLE_STRUCTURE_TAGS: Set<string>;
31
+ /**
32
+ * The two HTML "foreign content" namespaces: SVG and MathML. Their descendants
33
+ * (`<path>`, `<mrow>`, …) are namespaced XML, not HTML tags or components. A closed
34
+ * set per the HTML spec, so transforms can treat these roots as opaque islands.
35
+ */
36
+ export declare const FOREIGN_CONTENT_TAGS: readonly ["svg", "math"];
31
37
  /**
32
38
  * HTML void elements — elements that have no closing tag and no children.
33
39
  *
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@readme/markdown",
3
3
  "description": "ReadMe's React-based Markdown parser",
4
4
  "author": "Rafe Goldberg <rafe@readme.io>",
5
- "version": "14.12.1",
5
+ "version": "14.13.0",
6
6
  "main": "dist/main.node.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "browser": "dist/main.js",