-
-
Notifications
You must be signed in to change notification settings - Fork 926
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug:
In version 3.0.0, the ul and ol tags in HTML cannot be removed from the markup.
HTML to reproduce the issue:
<ul><li>ul-123</li><li>ul-456</li><li>ul-789</li></ul><ol><li>ol-123</li><li>ol-456</li><li>ol-789</li></ol>
Html widget configuration:
@override
Widget build(BuildContext context) {
var texts = GetIt.I<Texts>();
return Scaffold(
appBar: AppBar(
title: Text(
texts.text("mc_initial_warning_title", fallback: "Important!"))),
body:Html(
data:"<ul><li>ul-123</li><li>ul-456</li><li>ul-789</li></ul><ol><li>ol-123</li><li>ol-456</li><li>ol-789</li></ol>",
style: {
'ul': Style(
padding: HtmlPaddings.only(left: 0),
listStyleType: ListStyleType.none,
),
"ol": Style(
padding: HtmlPaddings.only(left: 0),
listStyleType: ListStyleType.none,
),
},
),
);
}
Screenshots:
Version 3.0.0
Device details and Flutter/Dart/flutter_html versions:
Error happens in all devices
Stacktrace/Logcat
No Exception is thrown
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working