zulip/zerver/lib/markdown
Wesley Aptekar-Cassels d5ba94082a markdown: Increase max rendered message length to 1MB.
This should help with #17425, where messages with lots of LaTeX are
lost, due to the large expansion factor.

This isn't a total fix for this - large messages with lots of LaTeX
can still end up larger than 1MB, and rendering could timeout, but
this fix should help significantly.

1MB is still small enough that I don't expect we'll run into any DOS
problems - my testing didn't show any problems rendering messages that
contain ~1MB of LaTeX.
2021-06-03 10:10:35 -07:00
..
__init__.py markdown: Increase max rendered message length to 1MB. 2021-06-03 10:10:35 -07:00
api_arguments_table_generator.py openapi: Fix display for boolean example values. 2021-04-07 09:52:42 -07:00
api_return_values_table_generator.py api docs: Sort response keys in /get-events. 2021-02-26 15:01:37 -08:00
fenced_code.py python: Strip leading and trailing spaces from docstrings. 2021-05-07 22:42:39 -07:00
help_emoticon_translations_table.py python: Strip leading and trailing spaces from docstrings. 2021-05-07 22:42:39 -07:00
help_relative_links.py navbar: Adjust label for usage statistics. 2021-05-12 10:34:12 -07:00
help_settings_links.py mute user: Add user documentation page. 2021-05-10 17:10:40 -07:00
include.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
nested_code_blocks.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
tabbed_sections.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
testing_mocks.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00