We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I noticed this block
if replacements: for old, new in replacements: text = text.replace(old, new)
appears twice in slugify. Why is that? Would it not make sense to have some pre-replacements and post-replacements instead?
slugify
The text was updated successfully, but these errors were encountered:
Test with care, some post slugify strings may end up with replacement words after the conversion, specially in non-english languages.
Sorry, something went wrong.
No branches or pull requests
I noticed this block
appears twice in
slugify
. Why is that? Would it not make sense to have some pre-replacements and post-replacements instead?The text was updated successfully, but these errors were encountered: