We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0874d55 commit 2cd044eCopy full SHA for 2cd044e
lib/html_parser.dart
@@ -553,6 +553,9 @@ class HtmlParser extends StatelessWidget {
553
tree.style.markerContent = '•';
554
break;
555
case ListStyleType.DECIMAL:
556
+ if (olStack.isEmpty) {
557
+ olStack.add(Context((tree.attributes['start'] != null ? int.tryParse(tree.attributes['start'] ?? "") ?? 1 : 1) - 1));
558
+ }
559
olStack.last.data += 1;
560
tree.style.markerContent = '${olStack.last.data}.';
561
0 commit comments