Closed (fixed)
Project:
Internationalization
Version:
7.x-1.5
Component:
Taxonomy
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 May 2012 at 12:46 UTC
Updated:
3 Jun 2012 at 07:59 UTC
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 commentedRelated issue #1437146: Rework string translation access. (After 1.4 update, block translation disallowed HTML error), see Commit diff
Comment #2
jose reyero commentedThis is fixed in latest dev version.