Re: Enlive tutorial

2009-04-23 Thread Christophe Grand
Christophe Grand a écrit : Hi Adrian! Thanks for this tutorial, I put it on the wiki http://wiki.github.com/cgrand/enlive/getting-started (I fixed two typos: a missing paren and an extraneous colon and I simplified to-li). And I removed the part talking about right since I already merged

Re: Enlive tutorial

2009-04-23 Thread Christophe Grand
I updated the tutorial to reflect a new behavior: enlive now precomputes html output for untouched or partly untouched elements. ((template (java.io.StringReader. divuntouched element/divdiv class=foowon't last/div) [] [[:div last-child]] (content new content))) used to return: ( html

Re: Enlive tutorial

2009-04-23 Thread Adrian Cuthbertson
Nice enhancement! On Thu, Apr 23, 2009 at 6:43 PM, Christophe Grand christo...@cgrand.net wrote: I updated the tutorial to reflect a new behavior: enlive now precomputes html output for untouched or partly untouched elements. ((template (java.io.StringReader. divuntouched element/divdiv