fix: exclude non-class attributes from markdown rendering
This commit is contained in:
@@ -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`)
|
||||
|
Reference in New Issue
Block a user