From c387bca6518e473d6ec882cbc26480bba0e243ad Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Mon, 31 Aug 2020 13:32:11 -0700 Subject: [PATCH] [Latex] Typo time --- latex/latex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latex/latex.py b/latex/latex.py index e216538..a3257ff 100644 --- a/latex/latex.py +++ b/latex/latex.py @@ -26,7 +26,7 @@ class Latex(commands.Cog): @staticmethod def cleanup_code_block(content): # remove ```latex\n```/```tex\n```/`````` - if content.starswith("```") and content.endswith("```"): + if content.startswith("```") and content.endswith("```"): return START_CODE_BLOCK_RE.sub("", content)[:-3] # remove `foo`