From: Greg Sabino Mullane Date: Sat, 17 Mar 2007 19:18:21 +0000 (+0000) Subject: Trim makeImage option list, for bug #8582 X-Git-Tag: 1.31.0-rc.0~53685 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=d51e743d233d46ce5040312c50306302c2c53855;p=lhc%2Fweb%2Fwiklou.git Trim makeImage option list, for bug #8582 --- diff --git a/includes/Parser.php b/includes/Parser.php index 6ac046711d..5834b1d99a 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -4389,7 +4389,7 @@ class Parser # * 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' );