(code)
| 46 | // Within an interpolation, evaluation, or escaping, remove HTML escaping |
| 47 | // that had been previously added. |
| 48 | var unescape = function(code) { |
| 49 | return code.replace(unescaper, function(match, escape) { |
| 50 | return escapes[escape]; |
| 51 | }); |
| 52 | }; |
| 53 | |
| 54 | // JavaScript micro-templating, similar to John Resig's implementation. |
| 55 | // Underscore templating handles arbitrary delimiters, preserves whitespace, |