[Latex] Typo time

This commit is contained in:
aikaterna
2020-08-31 13:32:11 -07:00
committed by GitHub
parent 01a1b9e3cb
commit c387bca651

View File

@@ -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`