Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
0001-Regexps-with-p-L-should-have-u-modifier.patch | 2.21 KB | leppa |
Comments
Comment #1
migmedia CreditAttribution: migmedia commentedThanks for the patch.