minor: formatting.

master
http://lj.rossia.org/users/imz/ 2009-05-18 15:30:27 -04:00 committed by Joey Hess
parent a4ce0468f6
commit 8f1d02decf
1 changed files with 2 additions and 0 deletions

View File

@ -29,9 +29,11 @@ More tests:
> curlies when doing so to avoid one being used to break out of the `q{}`. > curlies when doing so to avoid one being used to break out of the `q{}`.
> >
> Alternative ways to handle it would be: > Alternative ways to handle it would be:
>
> * Escape curlies. But then you have to deal with backslashes > * Escape curlies. But then you have to deal with backslashes
> in the user's input as they could try to defeat your escaping. > in the user's input as they could try to defeat your escaping.
> Gets tricky. > Gets tricky.
>
> * Avoid exposing user input to interpolation as a string. One > * Avoid exposing user input to interpolation as a string. One
> way that comes to mind is to have a local string lookup hash, > way that comes to mind is to have a local string lookup hash,
> and insert each user specified string into it, then use the hash > and insert each user specified string into it, then use the hash