From 02abcf0da76f519ce93075893fec02d934de64c1 Mon Sep 17 00:00:00 2001 From: barisusakli <barisusakli@gmail.com> Date: Fri, 23 Oct 2015 17:21:23 -0400 Subject: [PATCH] add newlines tabs to meta and link tabs --- public/src/modules/helpers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/modules/helpers.js b/public/src/modules/helpers.js index a40008dfdc..ce47d78c11 100644 --- a/public/src/modules/helpers.js +++ b/public/src/modules/helpers.js @@ -40,7 +40,7 @@ property = tag.property ? 'property="' + tag.property + '" ' : '', content = tag.content ? 'content="' + tag.content.replace(/\n/g, ' ') + '" ' : ''; - return '<meta ' + name + property + content + '/>'; + return '<meta ' + name + property + content + '/>\n\t'; }; helpers.buildLinkTag = function(tag) { @@ -50,7 +50,7 @@ href = tag.href ? 'href="' + tag.href + '" ' : '', sizes = tag.sizes ? 'sizes="' + tag.sizes + '" ' : ''; - return '<link ' + link + rel + type + sizes + href + '/>'; + return '<link ' + link + rel + type + sizes + href + '/>\n\t'; }; helpers.stringify = function(obj) {