Flutter_html: img alt attribute is rendered with style of previous element

Created on 27 May 2019  路  3Comments  路  Source: Sub6Resources/flutter_html

When you place a img with an alt attribute below a h1 for example, the textStyles of both are the same.
Screenshot_1558978952

The textStyle of alt should be like the normal text.

An option to hide the alt text would also be great.

According to this the alt attribute should only be rendered when the image isn't available.

bug high-priority richtext-parser

Most helpful comment

Yes, that is correct. I'll work on getting a fix for this into the next version.

All 3 comments

Yes, that is correct. I'll work on getting a fix for this into the next version.

Hi @Sub6Resources , any updates on this issue? Kindly ask the timing for next release?

Thank you very much.

@osenv Sorry for the delay in response. I'm currently working to get this issue fixed in 0.11.0, which should be released no later than the end of the month.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

red42 picture red42  路  4Comments

andokai picture andokai  路  3Comments

hunglv21 picture hunglv21  路  5Comments

Larpoux picture Larpoux  路  3Comments

a-href picture a-href  路  4Comments