This commit is contained in:
barisusakli
2014-04-27 17:17:07 -04:00
parent 1d1d677b56
commit fa8cdce748
2 changed files with 3 additions and 11 deletions

View File

@@ -323,11 +323,12 @@ var db = require('./database'),
if (stripTags) {
var s = S(results.content);
post.content = s.stripTags.apply(s, utils.getTagsExcept(['img', 'i', 'p'])).s;
post.content = s.stripTags.apply(s, utils.stripTags).s;
} else {
post.content = results.content;
}
callback(null, post);
});
}