Skip to content

Commit

Permalink
Properly trim tikz-cd output
Browse files Browse the repository at this point in the history
  • Loading branch information
varkor committed Feb 8, 2020
1 parent 78d9010 commit ea7da0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui.js
Expand Up @@ -511,8 +511,8 @@ QuiverExport.tikz_cd = new class extends QuiverExport {
(parameters.length > 0 ? `, ${parameters.join(", ")}` : "") +
"] ";
}
// Remove the trailing space.
output = output.slice(0, -1);
// Remove any trailing whitespace.
output = output.trim();
}

return wrap_boilerplate(output);
Expand Down

0 comments on commit ea7da0c

Please sign in to comment.