This can easily be done using decorators. For instance using the Description decorator. It is important to note though that you will need to turn off escaping for the output of the decorator:

    array('Description', array('escape' => false)),
    array('HtmlTag', array('tag' => 'dd')),
    array('Label', array('tag' => 'dt')),

Now, you can use the following to add extra HTML to the element:

    '<strong>This contains HTML that will actually be parsed by the browser, not escaped</strong>'

Posted in: Zend

Related FAQ's

Marius Ion ANGEL HOT SOFT LLC (800) 316-7677