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/readmes/static/%7B%60/css/themes/%7Biframely.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', {