sstephenson / eco

Embedded CoffeeScript templates
MIT License
1.71k stars 70 forks source link

Escaping directive mixed up #35

Closed csshsh closed 12 years ago

csshsh commented 12 years ago

In the documentation it says that <%= will escape the string, while <%- won't escape it. However after trying it and looking at this:

https://github.com/sstephenson/eco/blob/master/src/scanner.coffee#L73

It looks like it's actually the other way around. Bug? Outdated documentation?

Thanks!

csshsh commented 12 years ago

Please ignore. Was caused by another library we use.