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: Fix jpeg extension in `IMAGE_EXTENSIONS`.

Priyansh Garg0a875c1c4c9b
diff --git a/zerver/lib/markdown/__init__.py b/zerver/lib/markdown/__init__.py
index f55714c89ac..cf3d667386d 100644
--- a/zerver/lib/markdown/__init__.py
+++ b/zerver/lib/markdown/__init__.py
@@ -605,7 +605,7 @@ class BacktickInlineProcessor(markdown.inlinepatterns.BacktickInlineProcessor):
# List from https://support.google.com/chromeos/bin/answer.py?hl=en&answer=183093
-IMAGE_EXTENSIONS = [".bmp", ".gif", ".jpe", "jpeg", ".jpg", ".png", ".webp"]
+IMAGE_EXTENSIONS = [".bmp", ".gif", ".jpe", ".jpeg", ".jpg", ".png", ".webp"]
class InlineInterestingLinkProcessor(markdown.treeprocessors.Treeprocessor):