-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add check for unicode normalization in config (#44)
This ensures that the config sections match Wikipedia's Unicode normalization. We could also normalize every section in every article to handle an edge case where non-normalized output is inadvertently created as tags are joined, but I don't think that's worth it yet. From <https://mediawiki.org/wiki/Unicode_normalization_considerations>: > MediaWiki applies normalization form C (NFC) to Unicode text input. > MediaWiki doesn't apply any normalization to its output, for example > `cafe<nowiki/>́` becomes "café" (shows U+0065 U+0301 in a row, > without precomposed characters like U+00E9 appearing). Signed-off-by: Evan Lloyd New-Schmidt <[email protected]>
- Loading branch information
Showing
3 changed files
with
57 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters