mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
added the utf8 languages to the list of exceptions in the function break_up_long_words().
This commit is contained in:
parent
68600084f4
commit
ee563adc91
@ -357,7 +357,7 @@ function stripslashes_recursive($var) {
|
||||
*/
|
||||
function break_up_long_words($string, $maxsize=20, $cutchar=' ') {
|
||||
|
||||
if (in_array(current_language(), array('ja', 'zh_cn', 'zh_tw', 'zh_tw_utf8'))) { // Multibyte languages
|
||||
if (in_array(current_language(), array('ja', 'ja_utf8', 'kn_utf8', 'sr_utf8', 'vi_utf8', 'zh_cn', 'zh_tw', 'zh_tw_utf8'))) { // Multibyte languages
|
||||
return $string;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user