Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warning when scanning some HTML files
HTML files with <style> blocks containing non-utf8 sequences are causing warnings when processing them to extract base64 encoded images. To resolve this, we can use the to_string_lossy() method that may allocate and sanitize a copy of the content if the non-utf8 characters are encountered. Resolves: #1082
- Loading branch information