From 4f84ecb741935d9883b611322a19e1ab3208a454 Mon Sep 17 00:00:00 2001 From: Chen-I Lim Date: Wed, 18 Nov 2020 11:01:07 -0800 Subject: [PATCH] Preserve line breaks in markdown --- webapp/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/utils.ts b/webapp/src/utils.ts index 3a1e220cb..05386a6d1 100644 --- a/webapp/src/utils.ts +++ b/webapp/src/utils.ts @@ -49,7 +49,7 @@ class Utils { // HACKHACK: Somehow, marked doesn't encode angle brackets const renderer = new marked.Renderer() renderer.link = (href, title, contents) => `${contents}` - const html = marked(text.replace(/