@drghaliasri/butex 7.3.3 → 7.3.4

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/react.mjs CHANGED
@@ -1646,7 +1646,7 @@ function renderCharContent(node, options) {
1646
1646
  }
1647
1647
  function renderNodeEnglish(node, options) {
1648
1648
  if (node.kind === "delimiter" && node.innerExpr) {
1649
- return `${node.leftDelimExpr}${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
1649
+ return `${node.leftDelimExpr} ${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
1650
1650
  }
1651
1651
  if (node.kind === "boxed" && node.innerExpr) {
1652
1652
  const body = `\\boxed{${renderChainEnglish(node.innerExpr, options)}}`;
@@ -8500,7 +8500,7 @@ var DelimiterNode = class extends BaseAstNode {
8500
8500
  this.rightDelimExpr = rightDelimExpr2;
8501
8501
  }
8502
8502
  latex() {
8503
- return this.leftDelimExpr + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
8503
+ return this.leftDelimExpr + " " + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
8504
8504
  }
8505
8505
  arabicLatex() {
8506
8506
  const sup = this.superscript !== null ? this.superscript.arabicLatex() : "";