[Developers] Possible mjt bug

Jessica Perry Hekman jphekman at arborius.net
Fri Jul 6 21:58:20 UTC 2007


I may have discovered a bug in mjt. See

 http://pendaran.arborius.net:8080/~jphekman/freebase/ifelse.html

displaying the results of

 <div mjt.if="true">
   if=true
 </div>
 <div mjt.else="">
   else
 </div>

which I expect to display

 if=true

as per

 http://www.mjtemplate.org/tour/intro.html#mjt-else

but which instead displays

 if=true
 else

...If it is not a bug, I would love feedback on how I misinterpreted the 
doc.

I'm enjoying mjt, except for how hard it is to tell if the divs are 
properly balanced; I seem to be completely dependent on emacs telling me 
which curly brace I'm closing, and of course when it is closing a div it 
doesn't share that piece of information.
 
Jessica



More information about the Developers mailing list