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

Non-HTML5 element #30

Closed
jemrobinson opened this issue Dec 13, 2018 · 0 comments · Fixed by #28
Closed

Non-HTML5 element #30

jemrobinson opened this issue Dec 13, 2018 · 0 comments · Fixed by #28

Comments

@jemrobinson
Copy link
Member

jemrobinson commented Dec 13, 2018

What do we want to do with elements like <marquee> or <blink> which are not part of the HTML5 specification?

Decision

We will unwrap these elements to preserve their content. Note that we cannot tell if an unknown element will be treated as a block or inline element by the browser. Therefore we risk merging two blocks of text that would be rendered as separate visual "paragraphs" into a single visual "paragraph". After discussions with Rebekah, we have decided this is acceptable. Implemented in PR #28

We will look to explicitly define parsing behaviour for "knowable" pre HTML5 tags in future releases to minimise the risk of treating a "knowable" block level element as inline - see issue #33.

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 a pull request may close this issue.

1 participant