Hi Phil! Phil Hagelberg a écrit : > 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. >
Thanks for the kind words. > 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? > Tom gave you the answer. > 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? > You can pass an xml structure to deftemplate instead of the path, it's the only way to circumvent the classpath at the moment. I'll look into it. Christophe -- Professional: http://cgrand.net/ (fr) On Clojure: http://clj-me.blogspot.com/ (en) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---