Commit fb0c64a0 authored by NGPixel's avatar NGPixel

fix: exclude non-class attributes from markdown rendering

parent d6f2176d
......@@ -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`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment