stencilproject/Stencil

Issue with multiple parameters with one of them being a quote

Closed this issue · 0 comments

It seems like the argument parser breaks if I provide multiple parameters to a custom filter, with one of those parameters being a quote.

Example:

{{ string|replace:"""," " }}

Escaping the string doesn't seem to work either:

{{ string|replace:"\""," " }}

Nor does providing the double quote within a single quote:

{{ string|replace:'"'," " }}