I'm currently creating a website that has content in Ukrainian language. This language uses Cyrillic alphabet and has words that contain apostrophe (e.g., розв'язок). Typography doesn't recognize single quote in this word as apostrophe and replaces it with double quote, so the word becomes розв“язок instead of розв’язок. I checked the code of the module and found out that some regexps that contain \p{L} don't have a u modifier. I added it and now the apostrophes are recognized properly. The patch is attached.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

migmedia’s picture

Status: Needs review » Fixed

Thanks for the patch.

  • migmedia committed 859ab1d on 7.x-1.x authored by leppa
    Issue #2247465 by leppa: Apostrophes are replaced with quotes in non-...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.