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.8k stars 874 forks source link

[BUG] Space is lost when two tags are separated by one space #1238

Closed barabaka closed 1 year ago

barabaka commented 1 year ago

There is no space in rendered output when \<i> is followed by \<b> with one space in between. The issue seems to be present for other tags as well.

See example and screen shot:

Scaffold(body: Html(data: '<i>quick</i> <b>quick</b>'));

Screenshot_20230306_220104

Sub6Resources commented 1 year ago

I'm not able to reproduce this on 3.0.0-alpha.6 or later. Please let me know if you are able to reproduce the issue on any of the 3.0.0 versions.