v2.0.1: Edge case fixes
Bug fixes
- Fix: No error when HTML property is empty or whitespace (prevents “DOMDocument::loadHTML(): Argument #1 must not be empty”).
- Fix: No false “autofixed closing tags” notice for plain text and valid inline SVG; only fatal libxml issues are treated as invalid; benign warnings (incl. unknown tag 801) are ignored.
- Improvement: More robust post-processing (cleans libxml error buffer, restores state, safer body extraction) with proper handling of mixed HTML + inline SVG.