janl/mustache.js — comment on commit 9a8ff7638ac7cabe1513378423b4c567029ebc21
File:  line 0
By natevw:

I'm concerned because this seems to change the behaviour of ampersand (character entity) escaping? The original code presumes the string is completely unescaped, whereas this seems to try get fancy around pre-escaped entities. (Does the Mustache spec speak to this?)

-nvw

On Dec 19, 2011, at 12:05 PM, Michael Jackson wrote:

> [This jsperf](http://jsperf.com/string-replace-function) seems to indicate that your method is faster. The multiple `replace` calls probably slows it down.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/janl/mustache.js/commit/9a8ff7638ac7cabe1513378423b4c567029ebc21#commitcomment-807363