Hi Phil,

Regarding your first question, you can use (net.cgrand.enlive-html/
escaped your-string) to skip the escaping of your strings.

Cheers,
Tom

On Mar 18, 3:47 pm, Phil Hagelberg <p...@hagelb.org> wrote:
> I'm using the Enlive library, and so far I've been pretty impressed. The
> way it separates templates out into their own files and doesn't allow
> any logic to get mixed up with them is great.
>
> One thing I noticed is that its templates escape all strings passed to
> them. In my case I have some strings that are already HTML and don't
> need to be escaped; is there any way to skip that?
>
> Also, I keep getting null pointer exceptions when I try to use
> deftemplate with a path to an HTML file that isn't on the
> classpath. This seems like an odd restriction. Is there a way to use a
> file in an arbitrary location as a template?
>
> thanks,
> Phil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to