Jonathan Vanasco | 3 May 19:50

omit-tag -- Petal DOCUMENTATION inconsistency with TAL spec


I just learned this on another TAL list...

regarding omit-tag, the TAL spec states

	If the expression evaluates to a true value, *** or there is no  
expression ***

ie: no conditional/statement is interpreted as true

whereas the Petal implementation states:

	If you want to ALWAYS remove a tag, you can use omit-tag="string:1"

The petal behavior should be

	If you want to ALWAYS remove a tag, you should use omit-tag=""

It looks as if this was implemented in v1.06  -- but the docs were  
never updated to reflect the correct behavior.


Gmane