striptags

This commit is contained in:
barisusakli
2014-07-07 17:56:58 -04:00
parent 64d04f7aa6
commit 5497b8c419

View File

@@ -50,7 +50,7 @@ search.search = function(term, uid, callback) {
next(!err && canRead);
});
}, function(pids) {
posts.getPostSummaryByPids(pids, {stripTags: false, parse: false}, function(err, posts) {
posts.getPostSummaryByPids(pids, {stripTags: true, parse: false}, function(err, posts) {
if (err) {
return callback(err);
}