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.
Currently, the formatters provided by the Countries I18n module are calling check_plain() on a string that's been sanitized already by I18N itself.
countries_i18n_translate() is calling i18n_string() ... and in the end the format_translation() method of the i18n_string object
This method adds some defaults settings to the options array $langcode, 'sanitize' => TRUE, 'cache' => FALSE, 'debug' => $this->textgroup()->debug);
Patch to come.
Comment | File | Size | Author |
---|---|---|---|
#2 | countries_i18n-fix-countries-name-sanitization-2683213-2.patch | 1.21 KB | jsacksick |
|
Comments
Comment #2
jsacksick CreditAttribution: jsacksick commented