aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/info/python_news.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/python_news.py b/bot/exts/info/python_news.py
index 045f9e6f9..63eb4ac17 100644
--- a/bot/exts/info/python_news.py
+++ b/bot/exts/info/python_news.py
@@ -75,7 +75,7 @@ class PythonNews(Cog):
@staticmethod
def escape_markdown(content: str) -> str:
- """Escape the markdown underlines."""
+ """Escape the markdown underlines and spoilers."""
return re.sub(r"[_|]", lambda match: "\\" + match[0], content)
async def post_pep_news(self) -> None: