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

Tree Construction: do not use phase-specific handling for implied end-tag tokens emitted during InBody phase #523

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jayaddison
Copy link
Contributor

@jayaddison jayaddison commented Dec 31, 2020

The InBodyPhase parser phase creates and processes implied close-tag tokens for a small number of stopNames elements.

This changeset updates the phase's logic so that processing of these implied tokens remains within the InBody parser phase.

This fixes #111 by avoiding a call to the phase-specific InTablePhase.endTagOther to handle the implied end-tag, which as a side-effect disables the insertFromTable flag. That flag must remain True in order for repositioning of fostered elements relative to a <table> tag to be performed correctly.

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.

li in foster parent case incorrectly handled
1 participant