We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfbd7f6 commit a4cff01Copy full SHA for a4cff01
1 file changed
app/assets/javascripts/beak/tortoise-utils.coffee
@@ -12,7 +12,7 @@ getBase64IfResource = (node, data) ->
12
DOMPurify.addHook('uponSanitizeElement', getBase64IfResource)
13
14
markdownToHtml = (md) ->
15
- DOMPurify.sanitize(marked.parse(md))
+ DOMPurify.sanitize(marked.parse(md, { breaks: true }))
16
17
# (String) => String
18
toNetLogoWebMarkdown = (md) ->
0 commit comments