mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08:00
This adds a try-except block when running html2text when processing raw messages from HTML to markdown. convert_html_to_text is added mainly for testing convinience. We don't have any sample of Mattermosts' problematic content that could trigger this sort of error yet, so the test mocks convert_html_to_text to raise error instead. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| import_util.py | ||
| mattermost.py | ||
| rocketchat.py | ||
| sequencer.py | ||
| slack_message_conversion.py | ||
| slack.py | ||
| user_handler.py | ||