<!-- Thank you for using flutter_widget_from_html! If you have found a bug or if our documentation doesn't have an answer to what you're looking for, then fill out the template below. --> ## Steps to Reproduce <!-- You should provide as much info as possible so that we can reproduce the problem. --> style text "align center" does not work in in (li) tags <details> <summary>HTML</summary> <!-- Paste the HTML in full that is not working as expected --> <ol> <li style="text-align: center;"><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><span style="color: #e03e2d; text-decoration: line-through;">data 1</span></span></span></li> <li style="text-align: center;"><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><span style="color: #e03e2d; text-decoration: line-through;">data 2</span></span></span></li> <li style="text-align: center;"><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><span style="color: #e03e2d; text-decoration: line-through;">data 3</span></span></span></li> <li style="text-align: center;"><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><span style="color: #e03e2d; text-decoration: line-through;">data 4</span></span></span></li> <li style="text-align: center;"><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><span style="color: #e03e2d; text-decoration: line-through;">data 5</span></span></span></li> <li style="text-align: center;"><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><span style="color: #e03e2d; text-decoration: line-through;">data 6</span></span></span></li> <li style="text-align: center;"><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><span style="color: #e03e2d; text-decoration: line-through;">data 7</span></span></span></li> <li style="text-align: center;"><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><span style="color: #e03e2d; text-decoration: line-through;">data 8</span></span></span></li> </ol> </details> <details> <summary>`HtmlWidget` configuration</summary> <!-- class MyHomePage extends StatefulWidget { const MyHomePage({super.key, required this.title}); final String title; @override State<MyHomePage> createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( backgroundColor: Theme.of(context).colorScheme.inversePrimary, title: Text(widget.title), ), body: HtmlWidget('''<ol> <li style="text-align: center;"><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><span style="color: #e03e2d; text-decoration: line-through;">data 1</span></span></span></li> <li style="text-align: center;"><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><span style="color: #e03e2d; text-decoration: line-through;">data 2</span></span></span></li> <li style="text-align: center;"><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><span style="color: #e03e2d; text-decoration: line-through;">data 3</span></span></span></li> <li style="text-align: center;"><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><span style="color: #e03e2d; text-decoration: line-through;">data 4</span></span></span></li> <li style="text-align: center;"><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><span style="color: #e03e2d; text-decoration: line-through;">data 5</span></span></span></li> <li style="text-align: center;"><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><span style="color: #e03e2d; text-decoration: line-through;">data 6</span></span></span></li> <li style="text-align: center;"><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><span style="color: #e03e2d; text-decoration: line-through;">data 7</span></span></span></li> <li style="text-align: center;"><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><span style="color: #e03e2d; text-decoration: line-through;">data 8</span></span></span></li> </ol>''', textStyle: const TextStyle(fontSize: 20, color: Colors.black)), ); } } --> ```dart ``` </details> <details> <summary>Tesing environment</summary> ## Expected results <img width="336" height="171" alt="Image" src="https://github.com/user-attachments/assets/7aa3ebdc-333b-4ab6-b548-09efcfe847a2" /> ## Actual results <img width="325" height="206" alt="Image" src="https://github.com/user-attachments/assets/0f78e20e-dcfe-4b0c-aedd-3777f482cc12" />