Files

215 B

Add slugify

Add a function slugify(s) to text.py: lowercase, every run of non-alphanumeric characters becomes a single -, no leading or trailing -. Example: slugify('Hello, World!') is 'hello-world'.