From 3f35d615c0fe01f5c2b07dae1f8a1183883bea60 Mon Sep 17 00:00:00 2001 From: Chen-I Lim Date: Wed, 21 Oct 2020 16:06:11 -0700 Subject: [PATCH] Make Markdown urls open in _blank --- webapp/src/utils.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp/src/utils.ts b/webapp/src/utils.ts index 6bb3818f3..c169c9cff 100644 --- a/webapp/src/utils.ts +++ b/webapp/src/utils.ts @@ -47,7 +47,9 @@ class Utils { static htmlFromMarkdown(text: string): string { // HACKHACK: Somehow, marked doesn't encode angle brackets - const html = marked(text.replace(/ `${ text }` + const html = marked(text.replace(/