Skip to content

Commit 85a2840

Browse files
committed
Fix styling issue with lists
1 parent 2a6e768 commit 85a2840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/html_parser.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ class HtmlParser extends StatelessWidget {
234234
child: RichText(
235235
text: TextSpan(
236236
children: tree.children?.map((tree) => parseTree(newContext, tree))?.toList() ?? [],
237-
style: tree.style.generateTextStyle(),
237+
style: newContext.style.generateTextStyle(),
238238
),
239239
),
240240
)

0 commit comments

Comments
 (0)