mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 01:47:41 +00:00
Turn off diff highlighting everywhere
(imported from commit b1ac105d35e6b4b544b708509b4ae67573b47da8)
This commit is contained in:
@@ -981,7 +981,8 @@ def do_update_message(user_profile, message_id, subject, content):
|
|||||||
if not rendered_content:
|
if not rendered_content:
|
||||||
raise JsonableError("We were unable to render your updated message")
|
raise JsonableError("We were unable to render your updated message")
|
||||||
|
|
||||||
if not settings.DEPLOYED or settings.STAGING_DEPLOYED:
|
# We are turning off diff highlighting everywhere until ticket #1532 is addressed.
|
||||||
|
if False:
|
||||||
# Don't highlight message edit diffs on prod
|
# Don't highlight message edit diffs on prod
|
||||||
rendered_content = highlight_html_differences(first_rendered_content, rendered_content)
|
rendered_content = highlight_html_differences(first_rendered_content, rendered_content)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user