mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: parse incoming HTML to remove useless classes too
This commit is contained in:
@@ -112,6 +112,8 @@ Mocks.post = async (objects) => {
|
||||
let edited = new Date(updated);
|
||||
edited = Number.isNaN(edited.valueOf()) ? undefined : edited;
|
||||
|
||||
content = sanitize(content, sanitizeConfig);
|
||||
|
||||
const payload = {
|
||||
uid,
|
||||
pid,
|
||||
|
||||
Reference in New Issue
Block a user