diff --git a/src/posts/parse.js b/src/posts/parse.js index 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); };