ZF-7182: Incorrect behaviour in Zend_Form_Decorator_Label
The docs for this decorator state: "You may optionally specify a 'tag' option; if provided, it wraps the label in that block-level tag. If the 'tag' option is present, and no label present, the tag is rendered with no content. You can specify the class to use with the tag with the 'class' option or by calling setClass(). "
However, passing the 'class' option or calling setClass actually sets the class for the label, not the tag which wraps it, severely limiting the utility of the tag option.
Suggested fix: add a 'tagClass' option.