From f5ccf5d8d1f6a5ebf0b83e8610e4f9f813554092 Mon Sep 17 00:00:00 2001 From: jean rodriguez Date: Thu, 21 Feb 2019 14:33:48 -0500 Subject: [PATCH 1/4] addded preventIndent to hbs.compile --- lib/setup.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/setup.js b/lib/setup.js index 2a46b9c..cd81e9f 100644 --- a/lib/setup.js +++ b/lib/setup.js @@ -65,7 +65,9 @@ function registerPartials(items) { // Compile all the loaded partials _.forIn(hbs.partials, function (value, key) { if (_.isString(value)) { - hbs.partials[key] = hbs.compile(value); + //preventIndent:true solve issue with
 tag/white-space: pre
+      // see http://handlebarsjs.com/reference.html compile() options 
+      hbs.partials[key] = hbs.compile(value,{preventIndent:true});
     }
   });
 

From 75b940bd2aad50ed095c3a73a5e0c400b5022e29 Mon Sep 17 00:00:00 2001
From: jean rodriguez 
Date: Thu, 21 Feb 2019 14:38:35 -0500
Subject: [PATCH 2/4] some spaces

---
 lib/setup.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/setup.js b/lib/setup.js
index cd81e9f..5b7be98 100644
--- a/lib/setup.js
+++ b/lib/setup.js
@@ -67,7 +67,7 @@ function registerPartials(items) {
     if (_.isString(value)) {
       //preventIndent:true solve issue with  
 tag/white-space: pre
       // see http://handlebarsjs.com/reference.html compile() options 
-      hbs.partials[key] = hbs.compile(value,{preventIndent:true});
+      hbs.partials[key] = hbs.compile(value, { preventIndent:true });
     }
   });
 

From f1d1bd0336875f6c420ee40f4319e643ed509172 Mon Sep 17 00:00:00 2001
From: jean rodriguez 
Date: Thu, 21 Feb 2019 14:59:41 -0500
Subject: [PATCH 3/4] added some spaces

---
 lib/setup.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/setup.js b/lib/setup.js
index 5b7be98..995be6b 100644
--- a/lib/setup.js
+++ b/lib/setup.js
@@ -65,9 +65,9 @@ function registerPartials(items) {
   // Compile all the loaded partials
   _.forIn(hbs.partials, function (value, key) {
     if (_.isString(value)) {
-      //preventIndent:true solve issue with  
 tag/white-space: pre
+      // preventIndent:true solve issue with  
 tag/white-space: pre
       // see http://handlebarsjs.com/reference.html compile() options 
-      hbs.partials[key] = hbs.compile(value, { preventIndent:true });
+      hbs.partials[key] = hbs.compile(value, { preventIndent: true });
     }
   });
 

From bb987e017cc0b7daada65ac2cd6d6b194e04a75b Mon Sep 17 00:00:00 2001
From: jean rodriguez 
Date: Thu, 21 Feb 2019 15:45:17 -0500
Subject: [PATCH 4/4] end space

---
 lib/setup.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/setup.js b/lib/setup.js
index 995be6b..b1ad0be 100644
--- a/lib/setup.js
+++ b/lib/setup.js
@@ -66,7 +66,7 @@ function registerPartials(items) {
   _.forIn(hbs.partials, function (value, key) {
     if (_.isString(value)) {
       // preventIndent:true solve issue with  
 tag/white-space: pre
-      // see http://handlebarsjs.com/reference.html compile() options 
+      // see http://handlebarsjs.com/reference.html compile() options
       hbs.partials[key] = hbs.compile(value, { preventIndent: true });
     }
   });