fix: exclude non-class attributes from markdown rendering
This commit is contained in:
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) {
|
for (let child of this.children) {
|
||||||
const renderer = require(`../${_.kebabCase(child.key)}/renderer.js`)
|
const renderer = require(`../${_.kebabCase(child.key)}/renderer.js`)
|
||||||
|
Loading…
Reference in New Issue
Block a user