Changeset [ae5413771ab105c6da590289b3654db4c797e762] by Gaspard Bucher

May 26th, 2009 @ 04:31 PM

Much better test condition parser in [if] and such places. Added 'join_if' option to [each]. This commit removes compatibility with traditional comparaison operators (<,>,=,...) in favor of 'lt', 'gt'. Having two ways to say the same thing (one possibly breaking zafu rendering in html editors) was a bad thing which needs cleanup before 1.0. There is also a change in the way attributes are handled. We no longer insert 'to_s' every time an attribute is compared. So empty is now detected with <r:if test='custom_a eq nil'/> (integer value) or <r:if test='d_foo eq ""'/> (string). http://github.com/zena/zena/comm...

Committed by Gaspard Bucher

  • M lib/parser/lib/rules/zena.rb
  • M test/helpers/zena_parser/basic.yml
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Anyone knows how to use formatting here ?

Git repository: http://github.com/zena

Official website: http://zenadmin.org

Shared Ticket Bins