BonsaiDen/Fomatto — pull request #1 by dominictarr (2011-10-13 13:28:37+00:00)
Title: fomatto adds escapes custom format string when using key

hey, this library is awesome!

I found this bug and added a failing test:

when using a named property with a custom formatter, the result gets escaped.

``` js
>var custom = Formatter({JSON: JSON.stringify});
>custom('({property:JSON})', {property: [1,2,3] })
'("[1,2,3]")'
```
the quotes should not have been added.

cheers, Dominic