Index: branches/SerbianVariants/phase3/languages/LanguageConverter.php |
— | — | @@ -162,7 +162,7 @@ |
163 | 163 | // disable convert to variants between <code></code> tags |
164 | 164 | $codefix = '<code>.+?<\/code>|'; |
165 | 165 | |
166 | | - $reg = '/'.$codefix.'<[^>]+>|&[a-z#][a-z0-9]+;' . $marker . $htmlfix . '/s'; |
| 166 | + $reg = '/'.$codefix.'<[^>]+>|&[a-zA-Z#][a-z0-9]+;' . $marker . $htmlfix . '/s'; |
167 | 167 | |
168 | 168 | $matches = preg_split($reg, $text, -1, PREG_SPLIT_OFFSET_CAPTURE); |
169 | 169 | |