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.
i18n_taxonomy_term_name() function translate term names with "&" incorrectly. When translated term title contains "&" it converted to '&
'.
I think, the cause is 1.5 version API changes. In 1.4 version of i18n this worked properly. I debugged deeper and found that i18n_string_format() function duplicate "&" on line 638:
$string = check_plain($string);
This line added in version 1.5.
Comments
Comment #1
mordonez CreditAttribution: mordonez commentedRelated issue #1437146: Rework string translation access. (After 1.4 update, block translation disallowed HTML error), see Commit diff
Comment #2
Jose Reyero CreditAttribution: Jose Reyero commentedThis is fixed in latest dev version.