From 5497b8c419ad67f4dc9c0df11a1d82ec0b19ea42 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 7 Jul 2014 17:56:58 -0400 Subject: [PATCH] striptags --- src/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.js b/src/search.js index 7ea5dd7677..8d10ede1c2 100644 --- a/src/search.js +++ b/src/search.js @@ -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); }