mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
striptags
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user