Index: trunk/extensions/SemanticInternalObjects/SemanticInternalObjects_body.php |
— | — | @@ -289,11 +289,11 @@ |
290 | 290 | $internalObject->addPropertyAndValue( $objToPagePropName, self::$mCurPageFullName ); |
291 | 291 | |
292 | 292 | foreach ( $params as $param ) { |
293 | | - $parts = explode( '=', trim( $param ), 2 ); |
| 293 | + $parts = explode( '=', $param, 2 ); |
294 | 294 | |
295 | 295 | if ( count( $parts ) == 2 ) { |
296 | | - $key = $parts[0]; |
297 | | - $value = $parts[1]; |
| 296 | + $key = trim( $parts[0] ); |
| 297 | + $value = trim( $parts[1] ); |
298 | 298 | // if the property name ends with '#list', it's |
299 | 299 | // a comma-delimited group of values |
300 | 300 | if ( substr( $key, - 5 ) == '#list' ) { |