Steps to reproduce:
- on en.wiki (for example), in code editor, enter one of (or all; 0 - number zero):
- {{#expr:0}}
- {{NUMBEROF|files|cu}}
- {{#invoke:Math|max|0|0}}
- switch to Visual Editor
What happens:
Instead of displaying the number 0 (zero), the block with entire parser function (or template name in case of NUMBEROF, or invoke) is displayed by the VE.
What should have happened instead:
Returned value 0 (zero) should be displayed under VE, the same way as in preview in code editor.
Affects at least en.wiki and pl.wiki.