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

HTML elements with no children (e.g. br) mess up diff/patch #1

Open
tvdstorm opened this issue Jan 25, 2023 · 1 comment
Open

HTML elements with no children (e.g. br) mess up diff/patch #1

tvdstorm opened this issue Jan 25, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@tvdstorm
Copy link
Member

Salix assumes every HTML element has zero or more children. However, browsers normalize certain elements to childless elements. E.g. <br></br> (or <br/>) becomes <br>.

@tvdstorm tvdstorm added the bug Something isn't working label Jan 25, 2023
@jurgenvinju
Copy link
Member

@tvdstorm was this not solved in the meantime?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants