Skip to content

special purpose encode/decode for EJS#141

Merged
jrit merged 2 commits intoAutomattic:masterfrom
jrit:cheerio-node-12
Jul 14, 2015
Merged

special purpose encode/decode for EJS#141
jrit merged 2 commits intoAutomattic:masterfrom
jrit:cheerio-node-12

Conversation

@jrit
Copy link
Collaborator

@jrit jrit commented Jul 14, 2015

fixes #140

The underlying issue is with cheerio as referenced here cheeriojs/cheerio#579

An encode/decode step has been added to prevent cheerio from transforming EJS tags. This is based on the solution in the cheerio issue referenced. I'm not sure if this covers every case, but at least resolves the example given in #140 and this CL includes that as a test case.

jrit added a commit that referenced this pull request Jul 14, 2015
special purpose encode/decode for EJS
@jrit jrit merged commit a53a947 into Automattic:master Jul 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Juice alters EJS tags

1 participant