andyduke / styled_text_package

Text widget with formatted text using tags. Makes it easier to use formatted text in multilingual applications.
https://pub.dev/packages/styled_text
BSD 3-Clause "New" or "Revised" License
74 stars 48 forks source link

chore: 🩹 Added example of fixing bug in nested custom tags #81

Closed Mithos5r closed 3 weeks ago

Mithos5r commented 3 weeks ago

There is a bug in version 8.1.0, the attribute field returned only the last of the attributes found regardless of the tag they came from.

In version 9.0 the problem is fixed. I understand that the fix may not be intentional so I add an example, in README as in the example of Styled_text, so that this functionality is maintained and reviewed.

I attach a screenshot where you can see the problem.

Captura de pantalla 2024-06-25 a las 8 46 41

andyduke commented 3 weeks ago

The bug has been fixed in version 9.0.