fixed merge conflict

This commit is contained in:
psychobunny
2014-02-27 15:11:50 -05:00
130 changed files with 1453 additions and 1139 deletions

View File

@@ -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;
});