diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-07 11:52:29 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-07 11:52:29 +0100 |
commit | 41878d33971473be3f4255c335b25b1ba869428f (patch) | |
tree | dc5d796e3baec44f8b38d3d44506d15814b89f56 | |
parent | 2f19481147b12e2ae503ed3d1f28621c94447ac3 (diff) | |
download | PeerTube-41878d33971473be3f4255c335b25b1ba869428f.tar.gz PeerTube-41878d33971473be3f4255c335b25b1ba869428f.tar.zst PeerTube-41878d33971473be3f4255c335b25b1ba869428f.zip |
Remove unnecessary comment
-rw-r--r-- | server/helpers/markdown.ts | 1 |
1 files changed, 0 insertions, 1 deletions
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) { | |||
51 | function plainTextRule (state: any) { | 51 | function plainTextRule (state: any) { |
52 | const text = scan(state.tokens) | 52 | const text = scan(state.tokens) |
53 | 53 | ||
54 | // markdownIt.plainText = text.replace(/\s+/g, ' ') | ||
55 | markdownIt.plainText = text | 54 | markdownIt.plainText = text |
56 | } | 55 | } |
57 | 56 | ||