From cc2dc2b132878b2723e48eae96933faa355321f2 Mon Sep 17 00:00:00 2001 From: Aiko Mastboom Date: Sat, 20 Apr 2013 03:35:58 +0200 Subject: [PATCH] removed extra \n --- preview.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/preview.js b/preview.js index 3190930..78eee76 100644 --- a/preview.js +++ b/preview.js @@ -15,13 +15,6 @@ module.exports = function (config, mongodataInstance) { '\n' + '{{/if}}'; - var sourceBody = - '\n' + - '\n' + - '\n' + - '\n' + - '\n'; - var getPreviewHTML = function (options, content, callback) { config.debug && console.log('getPreviewHTML', content); var html = content; @@ -116,7 +109,7 @@ module.exports = function (config, mongodataInstance) { }; return callback(null, { regExp: new RegExp(result, 'gmi'), - value: '' }); })); @@ -132,7 +125,7 @@ module.exports = function (config, mongodataInstance) { }; return callback(null, { regExp: new RegExp(result, 'gmi'), - value: '\n' + value: '' }); }));