mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
added back paragraph tags
This commit is contained in:
@@ -324,7 +324,7 @@ var db = require('./database'),
|
||||
|
||||
if(stripTags) {
|
||||
var s = S(content);
|
||||
post.content = s.stripTags.apply(s, utils.getTagsExcept(['img', 'i'])).s;
|
||||
post.content = s.stripTags.apply(s, utils.getTagsExcept(['img', 'i', 'p'])).s;
|
||||
} else {
|
||||
post.content = content;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user