Node.js based forum software built for the modern web
fix: added comment back
Julian Lam0c4cd840a002
diff --git a/src/posts/parse.js b/src/posts/parse.jsindex f4c110623f..3ab61b3d57 100644--- a/src/posts/parse.js+++ b/src/posts/parse.js@@ -115,6 +115,7 @@ module.exports = function (Posts) {sanitizeConfig.allowedAttributes[tag] = _.union(sanitizeConfig.allowedAttributes[tag], sanitizeConfig.globalAttributes);});+ // Some plugins might need to adjust or whitelist their own tags...sanitizeConfig = await plugins.fireHook('filter:sanitize.config', sanitizeConfig);};