katex 0.13.12 → 0.13.13

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/katex.mjs CHANGED
@@ -1319,7 +1319,7 @@ class SvgNode {
1319
1319
  }
1320
1320
 
1321
1321
  toMarkup() {
1322
- var markup = "<svg"; // Apply attributes
1322
+ var markup = "<svg xmlns=\"http://www.w3.org/2000/svg\""; // Apply attributes
1323
1323
 
1324
1324
  for (var attr in this.attributes) {
1325
1325
  if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {
@@ -17642,7 +17642,7 @@ var katex = {
17642
17642
  /**
17643
17643
  * Current KaTeX version
17644
17644
  */
17645
- version: "0.13.12",
17645
+ version: "0.13.13",
17646
17646
 
17647
17647
  /**
17648
17648
  * Renders the given LaTeX into an HTML+MathML combination, and adds
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "katex",
3
- "version": "0.13.12",
3
+ "version": "0.13.13",
4
4
  "description": "Fast math typesetting for the web.",
5
5
  "main": "dist/katex.js",
6
6
  "homepage": "https://katex.org",
package/src/domTree.js CHANGED
@@ -505,7 +505,7 @@ export class SvgNode implements VirtualNode {
505
505
  }
506
506
 
507
507
  toMarkup(): string {
508
- let markup = "<svg";
508
+ let markup = `<svg xmlns="http://www.w3.org/2000/svg"`;
509
509
 
510
510
  // Apply attributes
511
511
  for (const attr in this.attributes) {