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

Fixed section parser handling of markup sections inside lists #716

Merged

Conversation

kevinansfield
Copy link
Collaborator

closes #714

  • if the section parser hits a list item and it's current state is not a previous list item or a list section then open a new list section using using the LI's parent list type
  • prevents ListItem sections being created outside of a ListSection

closes bustle#714

- if the section parser hits a list item and it's current state is not a previous list item or a list section then open a new list section using using the LI's parent list type
- prevents `ListItem` sections being created outside of a `ListSection`
@kevinansfield kevinansfield force-pushed the handle-invalid-ul-children branch from 104a91a to b13bebb Compare March 6, 2020 22:59
@kevinansfield kevinansfield merged commit 9d9b8e4 into bustle:master Mar 7, 2020
@kevinansfield kevinansfield deleted the handle-invalid-ul-children branch March 7, 2020 09:55
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.

Section parser: MarkupSection creating elements inside <li> creates invalid sections
1 participant