Summary #
- Fix
parse_meta_tagin encoding sniffing to usebreakinstead of?whenparse_attributereturnsNone - Prevents discarding already-collected charset info when a malformed attribute is encountered later in the same meta tag
Review fix for PR 3mhkxapqvcz2u (whose original changes were already merged to main).
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com