The #tag magic word does not ignore whitespace when it should. In this example for the <foobar> tag:
{{#tag:foobar
some data |
param=value |
}}
The foobar tag extension will be passed the parameter ' param' (with a leading space character) instead of 'param'. In other words, in the tag extension code:
function render($input, $argv) {
...
}
$argv['param'] will be unset, but $argv[' param'] will be set. This seems wrong. #tag should ignore the whitespace between the "|" and "param=value".
Version: 1.12.x
Severity: normal