@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.js CHANGED
@@ -1664,7 +1664,7 @@ function renderCharContent(node, options) {
1664
1664
  }
1665
1665
  function renderNodeEnglish(node, options) {
1666
1666
  if (node.kind === "delimiter" && node.innerExpr) {
1667
- return `${node.leftDelimExpr}${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
1667
+ return `${node.leftDelimExpr} ${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
1668
1668
  }
1669
1669
  if (node.kind === "boxed" && node.innerExpr) {
1670
1670
  const body = `\\boxed{${renderChainEnglish(node.innerExpr, options)}}`;
@@ -8518,7 +8518,7 @@ var DelimiterNode = class extends BaseAstNode {
8518
8518
  this.rightDelimExpr = rightDelimExpr2;
8519
8519
  }
8520
8520
  latex() {
8521
- return this.leftDelimExpr + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
8521
+ return this.leftDelimExpr + " " + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
8522
8522
  }
8523
8523
  arabicLatex() {
8524
8524
  const sup = this.superscript !== null ? this.superscript.arabicLatex() : "";