mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
Now that we have updated python-markdown, we remove the deprecated safe_mode. We used safe_mode to escape raw html, so now instead we pass in an EscapeHtml markdown extension to the markdown engine. See https://pythonhosted.org/Markdown/release-2.6.html for details on the deprecation. Fixes: #2037 (also addresses the remaining piece of #2043).