@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.
@@ -166,7 +166,7 @@ var DelimiterNode = class extends BaseAstNode {
166
166
  this.rightDelimExpr = rightDelimExpr2;
167
167
  }
168
168
  latex() {
169
- return this.leftDelimExpr + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
169
+ return this.leftDelimExpr + " " + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
170
170
  }
171
171
  arabicLatex() {
172
172
  const sup = this.superscript !== null ? this.superscript.arabicLatex() : "";
@@ -2395,7 +2395,7 @@ function renderCharContent(node, options) {
2395
2395
  }
2396
2396
  function renderNodeEnglish(node, options) {
2397
2397
  if (node.kind === "delimiter" && node.innerExpr) {
2398
- return `${node.leftDelimExpr}${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
2398
+ return `${node.leftDelimExpr} ${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
2399
2399
  }
2400
2400
  if (node.kind === "boxed" && node.innerExpr) {
2401
2401
  const body = `\\boxed{${renderChainEnglish(node.innerExpr, options)}}`;