stripping paragraph tags from post summaries in an effort to collapse it all into one paragraph block.

This commit is contained in:
Julian Lam
2014-04-04 09:21:17 -04:00
parent a7c5a5e819
commit b9aa0d2121
2 changed files with 2 additions and 6 deletions

View File

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