Index: trunk/extensions/SemanticForms/includes/SF_FormField.php |
— | — | @@ -289,8 +289,18 @@ |
290 | 290 | // Now merge in the default values set by SFFormPrinter, if |
291 | 291 | // there were any - put the default values first, so that if |
292 | 292 | // there's a conflict they'll be overridden. |
293 | | - if ( $default_args != null ) |
| 293 | + if ( $default_args != null ) { |
294 | 294 | $other_args = array_merge( $default_args, $other_args ); |
| 295 | + } |
| 296 | + |
| 297 | + global $wgParser; |
| 298 | + foreach ( $other_args as $argname => $argvalue ) { |
| 299 | + if ( is_string( $argvalue ) ) { |
| 300 | + $other_args[$argname] = |
| 301 | + $wgParser->recursiveTagParse( $argvalue ); |
| 302 | + } |
| 303 | + } |
| 304 | + |
295 | 305 | return $other_args; |
296 | 306 | } |
297 | 307 | } |