Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
[bug] Template parsing: tokens of empty optional fields aren't removed #2
How to reproduce
The token is not replaced. It gets his way into the resulting page making it look messy.
What should happen
Tokens should be replaced with their corresponding field values. When a field is empty, its token should be replaced with emptiness, i. e. be removed.