Skip to content

Add escape support #4

Open
derdesign opened this Issue Mar 21, 2012 · 1 comment

2 participants

@derdesign

Hello Chris,

Would it be too difficult to add escape support to the liquor engine ? Something like:

#{{string}}

The code above would insert the escaped string into the liquor template.

While using liquor, I've noticed I've had to use the same escape function everywhere, so I thought having built-in escaping of unsafe characters would be very helpful.

All the best,
Ernie.-

@chjj
Owner
chjj commented Mar 21, 2012

Yeah, I guess this should be expected of a templating engine. I'll see what I can do.

@chjj chjj added a commit that referenced this issue Mar 25, 2012
@chjj escape interpolate. issue #4. 95f9511
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.