Skip to content

Support only sanitizing URL without stripping unicode? #24

@jeffwidman

Description

@jeffwidman

I'd like to use this library for sanitizing the URL by stripping out non-letters, converting spaces to dashes, etc.

But I don't want to convert non-english letters to their ASCII equivalents. For example, I want slugify('ß') to return 'ß'. Could you add a parameter that supports this behavior?

Similar to the default behavior of this library? https://github.com/mozilla/unicode-slugify

I want the extra options of python-slugify such as max length, word boundary, stopwords, and an active maintainer, otherwise I'd use that library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions