Browse Source

Remove newline stripping in forums poster

ghorsington 5 years ago
parent
commit
3dd14f9a2a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bot/src/commands/forums_news_checker.ts

+ 1 - 1
bot/src/commands/forums_news_checker.ts

@@ -53,7 +53,7 @@ const FEEDS = [
 ];
 
 function bbCodeToMarkdown(bbCode: string) {
-    return turndown.turndown(bbobHTML(bbCode, presetHTML5())).replace(/( {2}\n|\n\n){2,}/gm, "\n");
+    return turndown.turndown(bbobHTML(bbCode, presetHTML5()));
 }
 
 async function checkFeeds() {