Skip to content

Improve hash cleaning regex #120

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

Merged
merged 2 commits into from
Feb 9, 2018
Merged

Improve hash cleaning regex #120

merged 2 commits into from
Feb 9, 2018

Conversation

bcomnes
Copy link
Contributor

@bcomnes bcomnes commented Feb 9, 2018

This guards against an observed scenario where netlify-cms (and other SPA's using hash routing) might insert a \ into the hash on page load.

@bcomnes bcomnes requested a review from brycekahle February 9, 2018 17:26
@bcomnes bcomnes merged commit bfd8bd7 into master Feb 9, 2018
@bcomnes bcomnes deleted the fix-hash-cleaning branch February 9, 2018 17:53
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 this pull request may close these issues.

2 participants