diff --git a/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php b/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php index 1ff9d36..8e85eb3 100644 --- a/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php +++ b/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php @@ -84,8 +84,9 @@ public function removeDiacritics($string) { foreach (preg_split('//u', $string, 0, PREG_SPLIT_NO_EMPTY) as $character) { $code = self::ordUTF8($character); - // These two Unicode ranges include the accented US-ASCII letters, with a few characters - // that aren't accented letters mixed in. So define the ranges and the excluded characters. + // These two Unicode ranges include the accented US-ASCII letters, with a + // few characters that aren't accented letters mixed in. So define the + // ranges and the excluded characters. $range1 = $code > 0x00bf && $code < 0x017f; $exclusions_range1 = array(0x00d0, 0x00d7, 0x00f0, 0x00f7, 0x0138, 0x014a, 0x014b); $range2 = $code > 0x01cc && $code < 0x0250; @@ -209,7 +210,7 @@ protected function replace($code, $langcode, $unknown_character) { * The UTF-8 character code. * @param string $unknown_character * (optional) The character to substitute for characters without entries in - * the replacement tables + * the replacement tables. * * @return string * US-ASCII replacement characters. If it has a mapping, it is returned;