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.79k stars 860 forks source link

[BUG] Italicized quotes not displaying properly #1129

Closed DavidBucienski closed 2 years ago

DavidBucienski commented 2 years ago

Describe the bug: Html widget incorrectly displays italicized quotes.

HTML to reproduce the issue: <![CDATA[ <p>Outline<br />00:00:00 “What is Money” Intro<br /></p> ]]> Above is a snippet showing italicized quotes around What is Money. Full html found in any description tag that is nested in item tag at https://feeds.simplecast.com/MLdpYXYI

Html widget configuration: return Html(data: theHtmlString);

Expected behavior: Show quotes as such “What is Money” not weird characters.

Screenshots:

weird-characters

Device details and Flutter/Dart/flutter_html versions: Flutter 2.10.5 Dart 2.16.2 and effects both flutter_html 2.2.1 and 3.0.0-alpha.5

DavidBucienski commented 2 years ago

Not a bug. The input flutter_html was receiving was not decoded properly. With proper decoding this issue was resolved.

Trinhqn commented 2 years ago

Vào Thứ Bảy, 17 tháng 9, 2022, David Bucienski @.***> đã viết:

Closed #1129 https://github.com/Sub6Resources/flutter_html/issues/1129 as completed.

— Reply to this email directly, view it on GitHub https://github.com/Sub6Resources/flutter_html/issues/1129#event-7404875938, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZGKRZNLFZGWJU4BU3BFYE3V6SUXVANCNFSM565V75WA . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

-- Na Na