<h3><?php echo $this->__('Details & Documents') ?></h3>
The above prints out as: Details & Documents
What is the proper syntax so that it prints as: Details & Documents
?
Thanks
<h3><?php echo $this->__('Details & Documents') ?></h3>
The above prints out as: Details & Documents
What is the proper syntax so that it prints as: Details & Documents
?
Thanks
html_entity_decode should do what you want:
<h3><?php echo html_entity_decode($this->__('Details & Documents')) ?></h3>
Although there may be a Magento-specific setting for this.
`-tag, `Details & Documents` *is* the correct output from the function. You're not allowed to have stray ampersands in HTML (or XML, for that matter); that's why `&` is used instead.
– Michael Madsen Dec 22 '11 at 17:54