diff --git a/server/modules/rendering/markdown-core/renderer.js b/server/modules/rendering/markdown-core/renderer.js index 40ded6cf..afb5df25 100644 --- a/server/modules/rendering/markdown-core/renderer.js +++ b/server/modules/rendering/markdown-core/renderer.js @@ -30,7 +30,9 @@ module.exports = { } }) - mkdown.use(mdAttrs) + mkdown.use(mdAttrs, { + allowedAttributes: ['id', 'class'] + }) for (let child of this.children) { const renderer = require(`../${_.kebabCase(child.key)}/renderer.js`)