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.

markdown: Update comment for md_engines removal.

Alex Vandiver00fc42679176
diff --git a/zerver/lib/markdown/__init__.py b/zerver/lib/markdown/__init__.py
index 9a0d37bdb97..c84b2d2a08b 100644
--- a/zerver/lib/markdown/__init__.py
+++ b/zerver/lib/markdown/__init__.py
@@ -2213,8 +2213,8 @@ def get_sub_registry(r: markdown.util.Registry[T], keys: list[str]) -> markdown.
return new_r
-# These are used as keys ("linkifiers_keys") to md_engines and the respective
-# linkifier caches
+# This is used as a "linkifiers_key" for linkifiers_for_realm when
+# there is no realm (e.g. docs)
DEFAULT_MARKDOWN_KEY = -1