Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -149,6 +149,7 @@ |
150 | 150 | * (bug 5565) Add a class attribute to the table on Special:Allpages |
151 | 151 | * "lang=xx" option for parser test cases to set content language |
152 | 152 | * (bug 5764) Friulian translation updated |
| 153 | +* (bug 5757) Fix premature cutoff in LanguageConverter with extra end markers |
153 | 154 | |
154 | 155 | |
155 | 156 | == Compatibility == |
Index: trunk/phase3/languages/LanguageConverter.php |
— | — | @@ -262,7 +262,7 @@ |
263 | 263 | $tfirst = array_shift($tarray); |
264 | 264 | $text = $this->autoConvert($tfirst); |
265 | 265 | foreach($tarray as $txt) { |
266 | | - $marked = explode($this->mMarkup['end'], $txt); |
| 266 | + $marked = explode($this->mMarkup['end'], $txt, 2); |
267 | 267 | $flags = array(); |
268 | 268 | $tt = explode($this->mMarkup['flagsep'], $marked[0], 2); |
269 | 269 | |