mirror of
https://github.com/moodle/moodle.git
synced 2025-02-19 15:45:59 +01:00
Merged utf8 fix from stable
This commit is contained in:
parent
ba17c5d47c
commit
2b573acb6f
@ -85,7 +85,7 @@ function multilang_filter_impl($langblock) {
|
||||
|
||||
// Setup is done, now do multilang replacement on the match we 've been called for
|
||||
|
||||
$searchtosplit = '/<(?:lang|span) lang="([a-zA-Z_-]*)".*?>(.+?)<\/(?:lang|span)>/is';
|
||||
$searchtosplit = '/<(?:lang|span) lang="([a-zA-Z_-8]*)".*?>(.+?)<\/(?:lang|span)>/is';
|
||||
preg_match_all($searchtosplit, $langblock[0], $langlist);
|
||||
|
||||
/// Get the existing sections langs
|
||||
|
Loading…
x
Reference in New Issue
Block a user