mirror of https://github.com/zulip/zulip.git
format_updates_response: Default to apply_markdown=True
It's the safer default to prevent introducing XSS holes. And in our current code, we always provide this parameter. (imported from commit 73897f5315ba54a5d3fa95dd19efb9d20c081a8a)
This commit is contained in:
parent
e8dfb41f70
commit
734411369b
|
@ -236,7 +236,7 @@ def update_pointer_backend(request, user_profile):
|
|||
|
||||
return json_success()
|
||||
|
||||
def format_updates_response(messages=[], apply_markdown=False, reason_empty=None,
|
||||
def format_updates_response(messages=[], apply_markdown=True, reason_empty=None,
|
||||
user_profile=None, new_pointer=None, where='bottom',
|
||||
mirror=None):
|
||||
max_message_id = None
|
||||
|
|
Loading…
Reference in New Issue