X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fhelpers%2Fmarkdown.ts;h=a20ac22d4406b1e04be4c7774a26a8c1acd03310;hb=d7ce9dca613d96889baa0c93063806268f68cce5;hp=f9291bdad43acd0dbbf78ac636574e84a0803b02;hpb=2f19481147b12e2ae503ed3d1f28621c94447ac3;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/helpers/markdown.ts b/server/helpers/markdown.ts index f9291bdad..a20ac22d4 100644 --- a/server/helpers/markdown.ts +++ b/server/helpers/markdown.ts @@ -51,7 +51,6 @@ function plainTextPlugin (markdownIt: any) { function plainTextRule (state: any) { const text = scan(state.tokens) - // markdownIt.plainText = text.replace(/\s+/g, ' ') markdownIt.plainText = text }