Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Make capitalize filter unicode aware #652

Merged
merged 2 commits into from
Mar 26, 2022
Merged

Make capitalize filter unicode aware #652

merged 2 commits into from
Mar 26, 2022

Conversation

Kl4rry
Copy link
Contributor

@Kl4rry Kl4rry commented Mar 26, 2022

This PR makes the capitalize filter work with unicode characters while retaining the exact same behavior for ascii text. This fixes #651.

djc
djc previously approved these changes Mar 26, 2022
@djc
Copy link
Collaborator

djc commented Mar 26, 2022

Thanks! Please fix the formatting and I'll be happy to merge it.

@djc djc merged commit 07e29c7 into askama-rs:main Mar 26, 2022
@djc djc mentioned this pull request Feb 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Capitalize does not work with non ascii chars
2 participants