Closed easrng closed 3 years ago
Ok I got it to work
This PR makes Chrome and Firefox (and Safari) act the same when the hash has a :~: section (used in text fragment links) (The highlighting in the bottom right window was added to draw attention to the discrepancy and is not part of the webpage.)
Thanks, looks good! Forgot to mention it earlier, but just need you to sign off your PR.
Oh. I agree to the DCO but am not willing to use my name for this.
When the browser doesn't support fragment directives (Only Chrome does at this point, see https://caniuse.com/mdn-api_fragmentdirective), strip them from the fragment to avoid issues when users follow links with fragment directives.