Permalink
Browse files

Fixed my fix from earlier

  • Loading branch information...
1 parent 54902ff commit c41a30806a076b3640cae4d533acf014ab286118 moodler committed Jul 12, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 filter/multilang/filter.php
@@ -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_-8]*)".*?>(.+?)<\/(?:lang|span)>/is';
+ $searchtosplit = '/<(?:lang|span) lang="([a-zA-Z8_-]*)".*?>(.+?)<\/(?:lang|span)>/is';
preg_match_all($searchtosplit, $langblock[0], $langlist);
/// Get the existing sections langs

0 comments on commit c41a308

Please sign in to comment.