Skip to content

Commit a4cff01

Browse files
committed
UX/Parity: Maintain single-line breaks in info tab
Fixes #375
1 parent dfbd7f6 commit a4cff01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/assets/javascripts/beak/tortoise-utils.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ getBase64IfResource = (node, data) ->
1212
DOMPurify.addHook('uponSanitizeElement', getBase64IfResource)
1313

1414
markdownToHtml = (md) ->
15-
DOMPurify.sanitize(marked.parse(md))
15+
DOMPurify.sanitize(marked.parse(md, { breaks: true }))
1616

1717
# (String) => String
1818
toNetLogoWebMarkdown = (md) ->

0 commit comments

Comments
 (0)