Index: trunk/extensions/Translate/tag/TPParse.php |
— | — | @@ -157,7 +157,7 @@ |
158 | 158 | |
159 | 159 | // Remove translation markup |
160 | 160 | $cb = array( __CLASS__, 'replaceTagCb' ); |
161 | | - $text = preg_replace_callback( '~(<translate>\n?)(.*?)(\n?</translate>)~s', $cb, $text ); |
| 161 | + $text = preg_replace_callback( '~(<translate>\n?)(.*)(</translate>\n?)~sU', $cb, $text ); |
162 | 162 | $text = TranslatablePage::unArmourNowiki( $nph, $text ); |
163 | 163 | |
164 | 164 | return $text; |