kennygrant / sanitize

Package sanitize provides functions for sanitizing text in golang strings.
BSD 3-Clause "New" or "Revised" License
334 stars 73 forks source link

Differentiate Accents() and Umlauts() functions #23

Closed streambinder closed 5 years ago

streambinder commented 5 years ago

As stated in PR https://github.com/kennygrant/sanitize/pull/22, sanitize package function was missing of Accents()-like function to transform strings to their umlauts variant. That PR has been merged, but was misinterpreting the way - I personally think - Accents() function was thought. This commit should make some clarifications about their real distinction.