[Petal] omit-tag -- Petal DOCUMENTATION inconsistency with TAL spec

Jonathan Vanasco petal-list at 2xlp.com
Thu May 3 18:51:09 BST 2007


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.


More information about the Petal mailing list