Clean up single quotes
Add support for parsing and cleaning up single quotes in text
AdminBen Zanin (Admin, cleantext) commented
Indeed! It's easy enough to do the simple thing when the apostrophe is prefixed by whitespace, but one must also consider the cases when the character is being abused to act in stead of an opening single quote, or when it's being used in place of the prime character (U+2032) used either to denote a mathematical value or a measurement in Imperial feet.
I'm not sure about the best way to handle this yet. Input, especially in the form of votes and of advice from professional typesetters, is hugely welcome here.
Mike Dickison commented
The trick would be correctly cleaning up initial apostrophes, like ’70s, fish ’n’ chips, etc.