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:
5178b26
)
Trim makeImage option list, for bug #8582
author
Greg Sabino Mullane
<greg@users.mediawiki.org>
Sat, 17 Mar 2007 19:18:21 +0000
(19:18 +0000)
committer
Greg Sabino Mullane
<greg@users.mediawiki.org>
Sat, 17 Mar 2007 19:18:21 +0000
(19:18 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
6ac0467
..
5834b1d
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-4389,7
+4389,7
@@
class Parser
# * bottom
# * text-bottom
# * bottom
# * text-bottom
- $part =
explode( '|', $options
);
+ $part =
array_map( 'trim', explode( '|', $options)
);
$mwAlign = array();
$alignments = array( 'left', 'right', 'center', 'none', 'baseline', 'sub', 'super', 'top', 'text-top', 'middle', 'bottom', 'text-bottom' );
$mwAlign = array();
$alignments = array( 'left', 'right', 'center', 'none', 'baseline', 'sub', 'super', 'top', 'text-top', 'middle', 'bottom', 'text-bottom' );