Subscript or Superscript text within a Zend Form label
html, label, zend-form, zend-framework
Solution
Here is the right way to do it:
$zend_form_element->addDecorator('Label', аrray('escape'=>false));
from: http://forums.zend.com/viewtopic.php?f=69&t=5706
Problem
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