From d51e743d233d46ce5040312c50306302c2c53855 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Sat, 17 Mar 2007 19:18:21 +0000 Subject: [PATCH] Trim makeImage option list, for bug #8582 --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); -- 2.20.1