aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/markdown.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/markdown.ts')
-rw-r--r--server/helpers/markdown.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/markdown.ts b/server/helpers/markdown.ts
index 41e57d857..ebf479b98 100644
--- a/server/helpers/markdown.ts
+++ b/server/helpers/markdown.ts
@@ -34,7 +34,7 @@ const mdToPlainText = text => {
34 34
35 return safeHtml.replace(/<[^>]+>/g, '') 35 return safeHtml.replace(/<[^>]+>/g, '')
36 .replace(/\n$/, '') 36 .replace(/\n$/, '')
37 .replace('\n', ', ') 37 .replace(/\n/g, ', ')
38} 38}
39 39
40// --------------------------------------------------------------------------- 40// ---------------------------------------------------------------------------