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__.pyindex 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, inorder to prevent AdminNotifyHandler from sending the sanitizedoriginal markdown formatting into another Zulip message, which