Skip to content

Commit

Permalink
Merge pull request #4926 from Jimmi08/patch-1
Browse files Browse the repository at this point in the history
Issue #4925 Missing national character from toAscii()
  • Loading branch information
CaMer0n authored Dec 26, 2022
2 parents ec68c88 + 86562b6 commit 08ad317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e107_handlers/e_parse_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1876,7 +1876,7 @@ public function toASCII($text)
'ā' => 'a', 'ē' => 'e', 'ģ' => 'g', 'ī' => 'i', 'ķ' => 'k', 'ļ' => 'l', 'ņ' => 'n',
'ū' => 'u',

'ľ' => 'l', 'ŕ' => 'r',
'ľ' => 'l', 'ŕ' => 'r', 'Ľ' => 'l',
);

return str_replace(array_keys($char_map), $char_map, $text);
Expand Down

0 comments on commit 08ad317

Please sign in to comment.