follow-up r60986. fix for parser test failed.
authorPhilip Tzou <philip@users.mediawiki.org>
Tue, 12 Jan 2010 22:02:00 +0000 (22:02 +0000)
committerPhilip Tzou <philip@users.mediawiki.org>
Tue, 12 Jan 2010 22:02:00 +0000 (22:02 +0000)
languages/LanguageConverter.php

index 8d253e1..e06fa95 100644 (file)
@@ -563,9 +563,9 @@ class LanguageConverter {
                        $lastbegin = strrpos( $text, $this->mMarkup['begin'] );
 
                        // if $text contains no begin markup,
-                       // append $text restore end markup to $converted
+                       // append $text to $converted and restore end markup
                        if( $firstbegin === false ) {
-                               $converted .= $text;
+                               $converted .= $this->autoConvert( $text, $plang );
                                $converted .= $this->mMarkup['end'];
                                continue;
                        }