Skip to content

Fixing russian #17

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
Jan 8, 2019
Merged

Fixing russian #17

merged 2 commits into from
Jan 8, 2019

Conversation

wooorm
Copy link
Collaborator

@wooorm wooorm commented Nov 2, 2018

Hi folks! 👋

I got an issue over on remarkjs/remark-validate-links#26 that Cyrillic wasn’t working like on GitHub.
After testing (see https://github.com/Flet/github-slugger/blob/checking-russian/russian.md, which should not be included when merging this PR), the issue is correct that GitHub now lowercases not just ASCII alphabetical letters, but Cyrillic as well.

This PR just adds a normal string.toLowerCase() if maintainCase is not given. It broke two tests, but I checked, and GitHub now uses lowercased values for them as well.

@wooorm wooorm requested a review from Flet November 2, 2018 18:14
@wooorm wooorm mentioned this pull request Dec 3, 2018
@wooorm wooorm merged commit 7dff96f into master Jan 8, 2019
@wooorm wooorm deleted the checking-russian branch January 8, 2019 12:43
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.

1 participant