mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
added back paragraph tags
This commit is contained in:
@@ -324,7 +324,7 @@ var db = require('./database'),
|
|||||||
|
|
||||||
if(stripTags) {
|
if(stripTags) {
|
||||||
var s = S(content);
|
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 {
|
} else {
|
||||||
post.content = content;
|
post.content = content;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user