Skip to content

Node.js based forum software built for the modern web

add newlines tabs to meta and link tabs

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