deepsweet / deepsweet/mustache-loader

Top-level arrays render

Open
#30 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
38
Forks
32
PR merge metrics
No merged PRs in 30d

Description

Could it be a problem with your project, or it is likely to be the Hogan's bug?

**template.mustache**
```html

    {{#.}}
  • {{.}}
  • {{/.}}

```

**index.js**
```js
const mustache = require('mustache');
const template = require( './template.mustache');

// prints

  • 2
  • 3

console.log(mustache.render(`
    {{#.}}
  • {{.}}
  • {{/.}}
`, ['2', '3']));
// prints

    console.log(template(['2', '3']));
    ```

    Contributor guide

    No contributing guide indexed for this repository

    Assessment

    This issue has not been assessed yet.

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.