maproulette / maproulette/maproulette-frontend
Mustache tags null values are returning "null" strings again
Open
@CollinBeczak is already working on this.
Since Apr 7, 2026.
bug
- Dominant language
- JavaScript
- Stars
- 167
- Forks
- 39
- Avg merge
- 16h 34m
- Merged PRs (30d)
- 11
Description
What happened?
I am familiar with this issue which was resolved back in 2019, but there seems to have been a regression.
I haven't been using it in projects until yesterday, and I found out that mustache tags encountering null values are returning "null" strings again.
Steps to reproduce
For example, adding recommended tags in your task instructions, like:
`man_made=bridge`
`name=`{{name}}
`alt_name=`{{alt_name}}
may return something like, null values return "null" strings.
man_made=bridge
name=Xyz Bridge
alt_name=null
rather than the previous behavior I expected:
man_made=bridge
name=Xyz Bridge
alt_name=
Environment
Firefox, Vivaldi
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.