-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting access to the content of the partial #12
Comments
Good question. So eco comes with this built-in which is great! :) Instead of using |
Ah cool, didn't know that, thanks..although it doesn't seem to be working as expected here. Looking at the documentation on the eco README eco.render "<%= @description %>",
description: "<strong>HTML 5</strong> mobile app" should produce <strong>HTML 5</strong> mobile app although in my case I've tried all the following variations with no success:
Also while |
Hey, sorry to bring this up again, but do you have any suggestions? |
Ah okay, I know what the issue is. To recap:
|
Thanks very much! That's more than enough to get me started :) |
Hey,
I'm trying to do the following but can't seem to get it working.
I have a html partial which I am pulling into my page but I am also trying to html escape the output of the partial. For example, I have
<p>test</p>
in my partial but I want it to be output on the page as<p>test</p>
I do this as I'm trying to put the contents of the partial into apre
tag. I'm using this package to do the html escaping.In my
docpad.coffee
I have:and in my template I call:
but this outputs as:
Have you any ideas how I can access the contents of the partial to escape them?
Thanks,
Pat
The text was updated successfully, but these errors were encountered: