mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
fixed merge conflict
This commit is contained in:
@@ -53,7 +53,7 @@ var shutdown = function(code) {
|
||||
db.close();
|
||||
winston.info('[app] Database connection closed.');
|
||||
|
||||
winston.info('[app] Goodbye!');
|
||||
winston.info('[app] Shutdown complete.');
|
||||
process.exit();
|
||||
},
|
||||
restart = function() {
|
||||
@@ -177,6 +177,11 @@ process.on('uncaughtException', function(err) {
|
||||
|
||||
// Meta Tags
|
||||
/*templateValues.metaTags = defaultMetaTags.concat(options.metaTags || []).map(function(tag) {
|
||||
if(!tag || typeof tag.content !== 'string') {
|
||||
winston.warn('Invalid meta tag. ', tag);
|
||||
return tag;
|
||||
}
|
||||
|
||||
tag.content = tag.content.replace(/[&<>'"]/g, function(tag) {
|
||||
return escapeList[tag] || tag;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user