Skip to content
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

Allow for multiple nested ul and ol lists. #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joshuapinter
Copy link

I had two ul elements inside of a li and bonsai was only recognizing the last one. If you look at line 160, you can see that it sets the subList data value as the last of the subLists and then the other sub lists are ignored with expanded and collapsing.

The change I made fixes the issue but I'm sure you know better if A) there's a better way to solve this or B) what might break with this change.

I had two `ul` elements inside of a `li` and bonsai was only recognizing the last one. If you look at line 160, you can see that it sets the `subList` data value as the last of the subLists and then the other sub lists are ignored with expanded and collapsing.

The change I made fixes the issue but I'm sure you know better if A) there's a better way to solve this or B) what might break with this change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant