Remove not-necessary-after-all newline.
authorMike Taylor <mike@indexdata.com>
Tue, 29 Apr 2014 15:24:21 +0000 (16:24 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 29 Apr 2014 15:24:21 +0000 (16:24 +0100)
src/mkws-handlebars.js

index 0d601b6..5fae905 100644 (file)
@@ -7,8 +7,7 @@ Handlebars.registerHelper('json', function(obj) {
 Handlebars.registerHelper('paragraphs', function(obj) {
     var acc = [];
     for (var i = 0; i < obj.length; i++) {
-        // I don't know why, but we need the \n, otherwise Handlebars elides paragraphs
-        acc.push('<p>', obj[i], '</p>', "\n");
+        acc.push('<p>', obj[i], '</p>');
     }
     return acc.join('');
 });