on master help sign in
Add in trim to catch indented comments

closes #281

commite30f27b029d5efda488c3926e89f8949a8f57d3a authorChris <ckipp@pm.me> dateSat 24 Aug 2019, 15:47 (7 years ago) parent607b077
1 file changed+1−1
scripts/indental.js+1−1
scripts/indental.js+1−1
@@ -31,7 +31,7 @@ function indental (data, Type) {
3131 }
3232
3333 function skipLine (line) {
34− return line.trim() !== '' && line.substr(0, 1) !== ';' && line.trim().slice(-1) !== '`'
34+ return line.trim() !== '' && line.trim().substr(0, 1) !== ';' && line.trim().slice(-1) !== '`'
3535 }
3636
3737 const lines = data.split('\n').filter(skipLine).map(makeLine)