I would like to include subscript text in a Zend_Form_Element's label, and it doesn't seem to be working:
$zend_form_element->setLabel('Label <sub>x</sub>');
Is there anything I can do to get it to output properly without having to manually write the form on the view page? Thanks for the help,
Dave
From @fireeyedboy's answer, you can also do the following directly in your Zend_Form:
Here is the right way to do it:
from: http://forums.zend.com/viewtopic.php?f=69&t=5706
You can also it it the following way:
Try:
Or the singular:
I would say that best way is to get actual decorator from element and then set escape option, not to add new decorator: