Skip to content

Commit

Permalink
Fix for problem with lang names containing 8 Thanks Eloy
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Jul 12, 2005
1 parent 0ef1487 commit bc6c078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter/multilang/filter.php
Expand Up @@ -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
Expand Down

0 comments on commit bc6c078

Please sign in to comment.