maproulette / maproulette/maproulette-frontend

Mustache tags null values are returning "null" strings again

Open
#2,822 5 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.