Index: trunk/phase3/languages/LanguageConverter.php |
— | — | @@ -353,6 +353,8 @@ |
354 | 354 | // Guard against delimiter nulls in the input |
355 | 355 | $text = str_replace( "\000", '', $text ); |
356 | 356 | |
| 357 | + $markupMatches = null; |
| 358 | + $elementMatches = null; |
357 | 359 | while ( $startPos < strlen( $text ) ) { |
358 | 360 | if ( preg_match( $reg, $text, $markupMatches, PREG_OFFSET_CAPTURE, $startPos ) ) { |
359 | 361 | $elementPos = $markupMatches[0][1]; |