mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 17:16:26 +00:00
lxml 6.0.2 with recover=True silently drops HTML named entities (e.g. é, î) that are not valid XML, causing channel names and program data to lose characters during EPG ingestion. - Add preprocessing step in fetch_xmltv() that converts HTML named entities to Unicode while preserving XML-predefined entities - Detect encoding from XML declaration, fall back to UTF-8 for unknown codecs, skip files that fail to decode cleanly - Guard against entities resolving to XML-special characters and html.unescape partial matching edge cases - Add 28 unit tests covering entity resolution, encoding detection, and file-level processing |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_entity_resolution.py | ||
| test_serializers.py | ||