From: Dessalines Date: Thu, 22 Aug 2019 19:09:17 +0000 (-0700) Subject: Don't allow html rendering in markdown parser X-Git-Url: http://these/git/%22https:/lemmy.ml/u/Liwott/%7B%60%24%7BarchiveTodayUrl%7D/%7Bpost.url%7D?a=commitdiff_plain;h=bfc3bbc371ac47364aae126fee561117803b48d0;p=lemmy.git Don't allow html rendering in markdown parser - Fixes #229 --- diff --git a/ui/src/utils.ts b/ui/src/utils.ts index a2e13c02..02780b48 100644 --- a/ui/src/utils.ts +++ b/ui/src/utils.ts @@ -10,7 +10,7 @@ export function msgOp(msg: any): UserOperation { } var md = new markdown_it({ - html: true, + html: false, linkify: true, typographer: true }).use(markdown_it_container, 'spoiler', {