fix: exclude non-class attributes from markdown rendering

pull/1223/head
NGPixel 5 years ago
parent d6f2176de2
commit fb0c64a07e

@ -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`)

Loading…
Cancel
Save