]> Untitled Git - lemmy-ui.git/commitdiff
Turn off html in markdown. Fixes #650 (#657)
authorDessalines <dessalines@users.noreply.github.com>
Tue, 24 May 2022 16:40:31 +0000 (12:40 -0400)
committerGitHub <noreply@github.com>
Tue, 24 May 2022 16:40:31 +0000 (16:40 +0000)
src/shared/utils.ts

index 17497aeaf60857c3cf9aca0fa7e86cc9d0b10009..0199f47fe772cdc50d126df70bb83275b506712e 100644 (file)
@@ -113,7 +113,7 @@ export function wsUserOp(msg: any): UserOperation {
 }
 
 export const md = new markdown_it({
-  html: true,
+  html: false,
   linkify: true,
   typographer: true,
 })