mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-12 03:34:12 +02:00
Update cleanup.js
This commit is contained in:
@@ -9,7 +9,7 @@ module.exports = function cleanUp(latex) {
|
||||
|
||||
// also unindent the LaTeX.
|
||||
var indent = false;
|
||||
var lines = latex.split('\n').filter(function(line) { return !!line.trim(); });
|
||||
var lines = latex.split('\n').filter(line => !!line.trim());
|
||||
var clean = function(line, idx) {
|
||||
if(line.trim()) {
|
||||
if (!indent) {
|
||||
|
Reference in New Issue
Block a user