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: '' }); }));