1
0
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:
Mike Kamermans
2017-09-18 20:40:24 -07:00
committed by GitHub
parent d6cc0c2a0c
commit e31449548a

View File

@@ -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) {