flutter_html icon indicating copy to clipboard operation
flutter_html copied to clipboard

[BUG] Invalid character on base64 image source in html content

Open Miedziaq opened this issue 3 years ago • 1 comments

Describe the bug: Error at parsing html content containing base64 images

HTML to reproduce the issue:

Html widget configuration:

Device details and Flutter/Dart/flutter_html versions: flutter_html: ^2.2.1

Stacktrace/Logcat FormatException (FormatException: Invalid character (at character 77) /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAUEBAQEAwUEBAQGBQUGCA0ICAcHCBALDAkNExAUExIQ ^ ) offset:76 message:"Invalid character" source:"/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAUEBAQEAwUEBAQGBQUGCA0ICAcHCBALDAkNExAUExIQ EhIUFx0ZFBYcFhISGiMaHB4fISEhFBkkJyQgJh0gISD/2wBDAQU…" hashCode:748848706

Miedziaq avatar Feb 16 '22 14:02 Miedziaq

Please submit html to reproduce the issue.

Sub6Resources avatar Jun 10 '22 17:06 Sub6Resources