handlebars-helpers
handlebars-helpers copied to clipboard
Fixes truncateWords helper
This fixes the truncateWords
helper and closes #344. It also slightly modifies the string returned by truncateWords
to more closely resemble the truncate
helper and adds in tests.
Thanks! I'll review this and get it merged in soon. The tests are only failing due to an unrelated issue in Node.js v4
Bump. Can this be merged?