Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

refactor: Rename log_bugdown_error to log_markdown_error.

Mohit Guptae13691aa103c
diff --git a/zerver/lib/markdown/__init__.py b/zerver/lib/markdown/__init__.py
index e1aa4dbdd8c..80bc2ff0fc2 100644
--- a/zerver/lib/markdown/__init__.py
+++ b/zerver/lib/markdown/__init__.py
@@ -2102,7 +2102,7 @@ _privacy_re = re.compile('\\w', flags=re.UNICODE)
def privacy_clean_markdown(content: str) -> str:
return repr(_privacy_re.sub('x', content))
-def log_bugdown_error(msg: str) -> None:
+def log_markdown_error(msg: str) -> None:
"""We use this unusual logging approach to log the markdown error, in
order to prevent AdminNotifyHandler from sending the sanitized
original markdown formatting into another Zulip message, which