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

fix: Remove raw percentage character from ID #955

Closed
wants to merge 1 commit into from

Conversation

nschonni
Copy link
Contributor

@nschonni nschonni commented Feb 6, 2021

Came across this trying to run some HTML validation upstream in the Bikeshed repo

@nschonni nschonni marked this pull request as draft February 6, 2021 21:52
@nschonni
Copy link
Contributor Author

nschonni commented Feb 6, 2021

Looks like this needs an upstream fix in tc39/ecma262

@mathiasbynens
Copy link
Member

Seems like the fix should be to URL-encode the % sign as %25 instead of changing the upstream ECMA-262 document.

@@ -89,7 +89,7 @@ urlPrefix: https://tc39.github.io/ecma262/; spec: ECMA-262
text: %Array.prototype%; url: sec-properties-of-the-array-prototype-object
text: %Error.prototype%; url: sec-properties-of-the-error-prototype-object
text: %Function.prototype%; url: sec-properties-of-the-function-prototype-object
text: %IteratorPrototype%; url: sec-%iteratorprototype%-object
text: %IteratorPrototype%; url: sec-iteratorprototype-object
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
text: %IteratorPrototype%; url: sec-iteratorprototype-object
text: %IteratorPrototype%; url: sec-%25iteratorprototype%25-object

annevk added a commit that referenced this pull request Oct 5, 2021
@foolip foolip closed this in 37c0e6f Oct 5, 2021
@nschonni nschonni deleted the patch-1 branch October 5, 2021 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants