Closed joelterry closed 3 years ago
Replace sequences of punctuation/spaces in one sweep rather than delete punctuation, and then replace spaces. As it stands, "Foo&Bar" becomes "foobar" and "Foo & Bar" becomes "foo--bar".
Could you add a test for this please?
Replace sequences of punctuation/spaces in one sweep rather than delete punctuation, and then replace spaces. As it stands, "Foo&Bar" becomes "foobar" and "Foo & Bar" becomes "foo--bar".