Page MenuHomePhabricator

Adding better parsing for single closing braces at the end of a parameter
Open, MediumPublicFeature

Description

When have a parameter with a single braces at the end of the parameter, the braces does not go to the parameter:

{{template|1={text}}} get parsed as {{template|1={text}} } (parameter 1 is {text) not as {{template|1={text} }} (parameter 1 is {text}).

Adding a space behind the closing braces is the only way to avoid the wrong parsing.

In my opinion the preprocessor should respect balanced single braces, so the example get parsed better.


Version: unspecified
Severity: enhancement

Details

Reference
bz25721