Skip to content

Conversation

@taylorjacklespriggs
Copy link

Supports custom string escaping. Ex.

chevron.render(template="{{test}}", data={"test": '"'}, escape=lambda s: s.replace('"', "???")) == "???"

This feature is available in pystache which is no longer maintained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants