Skip to content

Joining values fail with the latest version #212

@villesau

Description

@villesau

Hi!

Thanks for the great work with the library!

There seems to be a bug with joining values in the latest version.

Following code:

const l = require('liquidjs');
const engine = new l.Liquid();
const result = engine.parseAndRenderSync(
  `value-{{ value | split: " " | join \', value-\'}}`,
  { value: '123 321 123' }
);
console.log(result);

should produce output value-123, value-321, value-123 , but instead it produces value-123 321 123

working version: 9.6.0
failing version: 9.11.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions