Sub6Resources / flutter_html

A Flutter widget for rendering static html as Flutter widgets (Will render over 80 different html tags!)
https://pub.dev/packages/flutter_html
MIT License
1.75k stars 805 forks source link

[BUG] Rendering of combining characters not correct #1404

Open siarsky opened 4 months ago

siarsky commented 4 months ago

Describe the bug:

HTML define so called combining characters - which allows to add for instance diacritics to existing characters.

HTML to reproduce the issue:

Html widget configuration:

<!DOCTYPE html> <html lang="en"> <body> <div> &#x0153;&#x0303; &#x002D;&#x0308; &#x03b5;&#x0303; </div> </body> </html>

Expected behavior: (Scrennshot from Brave: v1.61.109, the same output in Firefox: 121.0)

rendering_in_html_browser

Screenshots Flutter App Mac/iOS:

rendering_in_flutter_html_renderer

Device details and Flutter/Dart/flutter_html versions:

Device: iOS: 17.1.2 macOS: 13.6.2 (Ventura)

Flutter/Dart: 3.18.0 flutter_html: 3.0.0 beta 2

Stacktrace/Logcat

None

Additional info:

None