Skip to content

Fixing russian - #17

Merged
wooorm merged 2 commits into
masterfrom
checking-russian
Jan 8, 2019
Merged

Fixing russian#17
wooorm merged 2 commits into
masterfrom
checking-russian

Conversation

@wooorm

Copy link
Copy Markdown
Collaborator

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 FletNovember 2, 2018 18:14
@wooormwooorm mentioned this pull request Dec 3, 2018
@wooorm
wooorm merged commit 7dff96f into masterJan 8, 2019
@wooorm
wooorm deleted the checking-russian branch January 8, 2019 12:43
Sign up for freeto 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

@wooorm