]> Untitled Git - lemmy.git/commitdiff
Don't allow html rendering in markdown parser
authorDessalines <tyhou13@gmx.com>
Thu, 22 Aug 2019 19:09:17 +0000 (12:09 -0700)
committerDessalines <tyhou13@gmx.com>
Thu, 22 Aug 2019 19:09:17 +0000 (12:09 -0700)
- Fixes #229

ui/src/utils.ts

index a2e13c02cd3b69fb92b5436df832b4af5dd8b094..02780b48c0178c344f10f02687d6344389640ed8 100644 (file)
@@ -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', {