I saw previous issues about incorrect work tag "strong". I write useRichText:true and everything works well, but there is an exception when tag is at the beginning.
Can you post your HTML code and a screenshot of what you're seeing?


Hmm, that's odd. What attributes do you have set on your Html widget?
@Sub6Resources I have the same issue if string starts with <strong> tag:
<strong>15<\/strong>% of the text are stop words.
The result is:
15
% of the text are stop words.
My attributes:
Html(
data: htmlString,
useRichText: true,
defaultTextStyle: new TextStyle(fontSize: 14.0, color: const Color(0xff4c4c4c)),
)
Could you please help me.
The workaround is enclose it in a paragraph, prefixing with <p>
This has been fixed in version 0.9.7. Thank you!
Thank you!
@Sub6Resources I got unexpected top and bottom padding in version 0.9.7. (left screen - we used lib with version 0.9.6, right screen - we used lib with version 0.9.7)
|

--- | ---
@Sub6Resources I found that these lines produce issue with padding.

Yup, that does appear to be the issue. I'll work on fixing this in the next version, which should hopefully be out later this week.
Most helpful comment
@Sub6Resources I have the same issue if string starts with
<strong>tag:<strong>15<\/strong>% of the text are stop words.The result is:
15
% of the text are stop words.
My attributes:
Could you please help me.