Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Conversation

@alexcjohnson
Copy link
Collaborator

Also added an extra error message if the number of elements we extract is different from what was expected. This should fix the build errors in for example plotly/dash#1508

Copy link
Contributor

@wbrgss wbrgss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 💃

const excludeElements = [
'html', 'head', 'body', 'style', 'h1–h6', 'input',
// out of scope, different namespaces - but Mozilla added these to the
// above reference page Jan 2021 so we need to exclude them now.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps reference the MDN PR that changed this for posterity? mdn/content#410

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah nice, I didn't think to look for where this was introduced!

@alexcjohnson alexcjohnson merged commit b02c657 into dev Jan 7, 2021
@alexcjohnson alexcjohnson deleted the moz-update-jan-2021 branch January 7, 2021 01:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants