Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Render %%> as %> #46

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

iizukanao
Copy link

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

@benatkin
Copy link

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
Copy link

Any news?

I need to use in this case in a rails project

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants