|
@@ -300,7 +300,7 @@ async def run(text):
|
|
|
|
|
|
language_name, text = match.groups()
|
|
|
|
|
|
- text = re.sub(r"^```\w+\n((.|\n)*)```$", r"\1", text)
|
|
|
+ text = re.sub(r"^```\w+\n((?:\n|.)*)```$", r"\1", text)
|
|
|
|
|
|
if text.startswith("```") and text.endswith("```"):
|
|
|
text = text[3:-3]
|