From 6cc61fccd8c7f2f909945c8a8dc79b48c9a5ae42 Mon Sep 17 00:00:00 2001 From: Will Hunt <will@half-shot.uk> Date: Fri, 9 Feb 2018 22:06:02 +0000 Subject: [PATCH] Fix missing whitespace --- src/bot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot.ts b/src/bot.ts index 796eb66..25912e0 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -164,7 +164,7 @@ export class DiscordBot { profile.avatar_url = mxClient.mxcUrlToHttp(profile.avatar_url); } const isMarkdown = (event.content.format === "org.matrix.custom.html"); - if(!isMarkdown) { + if (!isMarkdown) { body = "\\" + body; } return new Discord.RichEmbed({ -- GitLab