visionmedia EJS (server-side) vs jupiter EJS (client-side)
665 views
Skip to first unread message
tomkit
unread,
Feb 22, 2012, 11:10:50 PM2/22/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Embedded JavaScript
I am sharing EJS templates between the client and server. I'm running
into trouble doing this because it seems EJS on the server-side
supports the notion of unescaped HTML emission via <%- %> whereas the
client-side does not (i.e. it only has <%= %>). Is there another way
for me to share templates between server/client with this problem...?