mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-10-24 14:25:55 -04:00
* Handle the case of lxml not finding a document tree. * Parse the document encoding from the XML tag.
1 line
245 B
Text
1 line
245 B
Text
Fix additional errors when previewing URLs: "AttributeError 'NoneType' object has no attribute 'xpath'" and "ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.".
|