Skip to content

Add tests for invalid anchors. #567

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
Jul 2, 2022
Merged

Add tests for invalid anchors. #567

merged 2 commits into from
Jul 2, 2022

Conversation

Julian
Copy link
Member

@Julian Julian commented Jul 1, 2022

@Julian Julian force-pushed the invalid-anchors branch from 666d6b0 to b62f97c Compare July 2, 2022 13:14
@Julian
Copy link
Member Author

Julian commented Jul 2, 2022

Fixed, nice catch, thanks!

@handrews
Copy link
Contributor

handrews commented Jul 2, 2022

It might be nice to also include a case where the first character is valid (a letter or underscore) but one of the remaining characters is not (something other than a letter, number, underscore, hyphen, or period). Either as part of this PR or a follow-on.

@Julian
Copy link
Member Author

Julian commented Jul 2, 2022

Makes sense, added (here).

@Julian
Copy link
Member Author

Julian commented Jul 2, 2022

Thanks!

@Julian Julian merged commit b7d13f4 into main Jul 2, 2022
@Julian Julian deleted the invalid-anchors branch July 2, 2022 19:30
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.

Test for invalid "$anchor" syntax
3 participants