sstephenson / eco

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

Render %%> as %> #46

Open iizukanao opened 12 years ago

iizukanao commented 12 years ago

The document says %%> will result in %>, but actually it doesn't happen. This patch fixes that behavior.

benatkin commented 12 years ago

How often is this used in practice? I wonder if it would be better to just change the README & suggest writing <%- "%" + ">" %> or setting endtag in the context object to <%- and using <%- @endtag %>

heberuriegas commented 10 years ago

Any news?

I need to use in this case in a rails project

<%%= image_tag("<%= @service.get('picture').x640.url %>") %%>