spullara / spullara/mustache.java
blanks eventually not rendered
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 2k
- Forks
- 281
- PR merge metrics
- No merged PRs in 30d
Description
mustache version = 0.9.6
template = "{{#IF}} {{/IF}}]X";
IF=true or IF=false
Output is always:
]X
expected:
IF=true
]X
IF=false
]X
template = "X[{{#IF}} {{/IF}}]X";
works as expected!
IF=true
x[ ]X
IF=false
x[]X
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by reproducing the two templates from the issue with Mustache 0.9.6, comparing the leading and embedded blank-space cases for both IF values. The work is done when the first template preserves its spaces for IF=true while retaining the shown output for IF=false, without regressing the second template.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100