Skip to content
This repository was archived by the owner on Nov 30, 2017. It is now read-only.
This repository was archived by the owner on Nov 30, 2017. It is now read-only.

Variable modifiers not working with large amount of data #2

@curtisblackwell

Description

@curtisblackwell

I'm storing a bunch of HTML in a variable, then using {{ var:extract }} to get a word count, but it ends up way off.

{{ var:content_full }}{{ theme:partial src="replicator_default" }}{{ /var:content_full }}

{{ var:extract }}{{ content_full|word_count }}{{ /var:extract }}

This returns 28, but it should be 776.

I also tried using |striptags, but that just outputs the HTML. I tested using both |word_count and |striptags on {{ content }} (after pasting the HTML under the front matter in the file) and both work as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions