fhd/clostache — pull request #9 by rgeoghegan (2011-10-23 19:35:24+00:00)
Title: Escape replaceAll argument to fix using dollar signs in template values

Fixed issue with quoting dollar signs and the regular expression syntax used by .replaceAll in the replace-all function, and added a unit test for it. Also, I think I fixed an omitted \ in the test-render-html-unescaped test, but I am not sure.

Basically, this call now works:

(clostache.parser/render "{{value}} store" {:value "$1"})