dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bddccb8
)
*Add U param to parseinline regexp to fix regression that left the \n in parsed messa...
author
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 29 May 2007 19:53:23 +0000
(19:53 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 29 May 2007 19:53:23 +0000
(19:53 +0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
0505109
..
88e1fe5
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-592,7
+592,7
@@
function wfMsgExt( $key, $options ) {
} elseif ( in_array('parseinline', $options) ) {
$string = $wgOut->parse( $string, true, true );
$m = array();
- if( preg_match( '/^<p>(.*)\n?<\/p>$/s', $string, $m ) ) {
+ if( preg_match( '/^<p>(.*)\n?<\/p>$/s
U
', $string, $m ) ) {
$string = $m[1];
}
} elseif ( in_array('parsemag', $options) ) {