mirror of
https://github.com/matrix-org/synapse.git
synced 2025-09-14 18:21:06 +02:00
Treat unknown encodings (according to lxml) as UTF-8 when generating a preview for HTML documents. This isn't fully accurate, but will hopefully give a reasonable title and summary.
2 lines
144 B
Plaintext
2 lines
144 B
Plaintext
Fix a long-standing bug where an internal server error was raised when attempting to preview an HTML document in an unknown character encoding.
|