mirror of
https://github.com/zulip/zulip.git
synced 2026-06-21 21:32:29 +08:00
An HTML document sent without a charset in the Content-Type header needs to be scanned for a charset in <meta> tags. We need to pass bytes instead of str to Beautiful Soup to allow it to do this. Fixes #16843. Signed-off-by: Anders Kaseorg <anders@zulip.com> |
||
|---|---|---|
| .. | ||
| parsers | ||
| __init__.py | ||
| oembed.py | ||
| preview.py | ||