Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it seem doesn't convert tag<img/>'s width attribute correctly #149

Closed
cheapw opened this issue Aug 28, 2019 · 2 comments
Closed

it seem doesn't convert tag<img/>'s width attribute correctly #149

cheapw opened this issue Aug 28, 2019 · 2 comments

Comments

@cheapw
Copy link

cheapw commented Aug 28, 2019

where I use flutter_html: ^0.9.6 there was no error occurred, In the (flutter_html: ^0.10.4) version would throw the following error.

The error message:
I/flutter (13563): The following FormatException was thrown building HtmlRichTextParser(dirty, dependencies:
I/flutter (13563): [MediaQuery, DefaultTextStyle, _LocalizationsScope-[GlobalKey#8a7c6], Directionality]):
I/flutter (13563): Invalid double
I/flutter (13563): 100%
The origin html:
img width="100%" height="auto" alt="" src="http://images.baixingliangfan.cn/shopGoodsDetailImg/20190109/20190109172624_128.png" />img width="100%" height="auto" alt="" src="http://images.baixingliangfan.cn/shopGoodsDetailImg/20190109/20190109172624_372.png" />

@cheapw cheapw changed the title it seem doesn't convert tag<a/>'s width attribute correctly it seem doesn't convert tag<img/>'s width attribute correctly Aug 28, 2019
@ghost
Copy link

ghost commented Aug 28, 2019

Meet the same problem

@Sub6Resources
Copy link
Owner

Thanks for reporting! This is actually a duplicate of #118.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants