mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-12 11:44:22 +02:00
Update cleanup.js
This commit is contained in:
@@ -9,7 +9,7 @@ module.exports = function cleanUp(latex) {
|
|||||||
|
|
||||||
// also unindent the LaTeX.
|
// also unindent the LaTeX.
|
||||||
var indent = false;
|
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) {
|
var clean = function(line, idx) {
|
||||||
if(line.trim()) {
|
if(line.trim()) {
|
||||||
if (!indent) {
|
if (!indent) {
|
||||||
|
Reference in New Issue
Block a user