dodo / node-slug

slugifies even utf-8 chars!
MIT License
1.07k stars 94 forks source link

Support empty string as replacement and fix tests #29

Closed Zertz closed 9 years ago

Zertz commented 9 years ago

This change allows using an empty string ('') as a replacement and adds a test for it.

It also fixes two failing tests by setting mode: "rfc3986" and adds two tests for the default pretty mode.

Zertz commented 9 years ago

@dodo did you have a look at my PR?