kennygrant / sanitize

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

Added strange quote character #3

Closed uraza closed 10 years ago

uraza commented 10 years ago

I have encountered a strange quote character in a recipe I was trying to crawl. I though you might be interested in adding it to your sanitizing list.

kennygrant commented 10 years ago

This particular function is called sanitize.Accents and removes accents by transliterating, so I think it would be too surprising to add non-accent characters I'm afraid.

The other functions should catch this character though.