Skip to content

truncateWords helper not working #344

Open
@laurenhamel

Description

@laurenhamel

I'm attempting to use the truncateWords helper, but it's failing to truncate a block of text. It looks like the culprit is this line in the helper's definition:

if (num > arr.length) { ... }

My assumption is that it should read < instead of >.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions