Skip to content

Commit

Permalink
fix: no markdown support for underline requarks#2072
Browse files Browse the repository at this point in the history
  • Loading branch information
regevbr committed Jun 18, 2020
1 parent 32c2693 commit b323703
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/modules/rendering/markdown-core/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ module.exports = {
}
})

mkdown.use(underline)
if (this.config.underline) {
mkdown.use(underline)
}

mkdown.use(mdAttrs, {
allowedAttributes: ['id', 'class', 'target']
Expand Down

0 comments on commit b323703

Please sign in to comment.