add newlines tabs to meta and link tabs

v1.18.x
barisusakli 10 years ago
parent 74b02ee096
commit 02abcf0da7

@ -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) {

Loading…
Cancel
Save