forked from MirrorHub/synapse
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.
1 line
144 B
Text
1 line
144 B
Text
Fix a long-standing bug where an internal server error was raised when attempting to preview an HTML document in an unknown character encoding.
|