mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-01 01:27:49 +02:00
add newlines tabs to meta and link tabs
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user