Skip to content

Parser prefixes escape characters(\\) when the parameter is "$" #54

Description

@aravindbaskaran

Eg 1:

(clostache.parser/render "{{Currency}} {{Price}}" {:Currency "$" :Price 230})

Output:

"\\$ 230"

Expected:

"$ 230"

Eg 2:

(clostache.parser/render "{{Currency}} {{Price}}" {:Currency "USD$" :Price 230})

Output:

"USD\\$ 230"

Expected:

"USD$ 230"

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