Browse Source

fix: allow target in markdown attrs (#1240)

pull/1251/head
NGPixel 5 years ago
parent
commit
46630e1638
1 changed files with 1 additions and 1 deletions
  1. 2
      server/modules/rendering/markdown-core/renderer.js

2
server/modules/rendering/markdown-core/renderer.js

@ -31,7 +31,7 @@ module.exports = {
})
mkdown.use(mdAttrs, {
allowedAttributes: ['id', 'class']
allowedAttributes: ['id', 'class', 'target']
})
for (let child of this.children) {

Loading…
Cancel
Save