Skip to content


Non-list or non-bool sections #12

akaspin opened this Issue · 1 comment

2 participants


It's not described in docs, but mentioned in specs and works on demo.

Normal sections should render if value is:

  • Non-empty list (ok)
  • True (ok)
  • Non-zero number (not works in hastache)
  • Non-empty string (not works in hastache)
  • Lambda (ok)

Inverted sections should render if value is:

  • Empty list (ok)
  • False (ok)
  • Zero number (not works in hastache)
  • Empty string (not works in hastache)
  • Missing context (works with my pull request)

I think it is quite important because Mustache is logic-less.

@lymar lymar closed this
@lymar lymar reopened this

Thanks for report! Fixed in v0.3.3.
New test case:

@lymar lymar closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.