-
-
Notifications
You must be signed in to change notification settings - Fork 876
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add bullet points to <ul> list items #22
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the excellent pull request! Just one quick change and I'd be glad to merge this.
lib/html_parser.dart
Outdated
return Container( | ||
width: width, | ||
child: Wrap( | ||
children: _parseNodeList(node.nodes), | ||
child: Row( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you could change this from Row
to Wrap
that would be great. (Otherwise lines will overflow to the right rather than wrapping when they get long)
Done! |
Looks great! I'll work on merging this a little later today. |
This has been published as Version 0.7.0 (bd19c57) on pub. Thanks again for the pull request! |
Support for <ul> (and <li>) to include bullet points.
They now look like this:
Haven't done ordered lists however there is a switch case for <ol> in the list item case which just uses the same as unordered list (bullet point) for now.