helpers / handlebars-helpers

188 handlebars helpers in ~20 categories. Can be used with Assemble, Ghost, YUI, express.js etc.
http://assemble.io/helpers/
MIT License
2.22k stars 365 forks source link

Most Array helpers do NOT check that the array parameter is valid #380

Closed acotty closed 2 years ago

acotty commented 3 years ago

The majority of array helpers do not check that the array parameter is an array before trying to use it. If the input file used in the handlbars does not have the array defined then you will get errors or you need to add an additional #isArray to protect the array helpers, which makes the template more complex than needed.

See #379 for code changes.

acotty commented 3 years ago

See https://github.com/Budibase/handlebars-helpers for fork that already includes the changes.

acotty commented 2 years ago

Dead repo, not supported.....

acotty commented 2 years ago

Try https://github.com/Budibase/handlebars-helpers