Page MenuHomePhabricator

[AOI][Citation Bot] Replace right single quotation marks with ' in author names
Closed, ResolvedPublic

Description

When Unicode U+2019 (right single quotation mark (’)) appears in an author name, it should be replaced with the standard typewriter apostrophe ('), so that it doesn't trigger any script errors.

Event Timeline

Fhocutt renamed this task from [AOI][Citation Bot] Replace right single quotation marks with ' to [AOI][Citation Bot] Replace right single quotation marks with ' in author names.Sep 11 2015, 2:24 AM
Fhocutt moved this task from Ready to In Dev/Progress on the Community-Tech board.
Fhocutt set Security to None.

The bot should be able to do this now, but I don't have any test cases where it hasn't so this feature is untested.

I tested the straighten_quotes() function locally and it works, so I'm going to mark this as resolved and keep my fingers crossed.