Magento 1 Fix - Transactional Email Preview Showing HTML only

Posted on January 22, 2012 | Magento 1

In Magento version 1.6.1.0, I noticed when previewing a transactional email it displayed in html only. Obviously this isnt right so I come up with this little fix.

Copy: app/code/core/Mage/Adminhtml/Block/System/Email/Template/preview.php

To: app/code/local/Mage/Adminhtml/Block/System/Email/Template/preview.php

Change (Line:49):

$template->setTemplateText(
$this->escapeHtml($template->getTemplateText())
);

To:

//$template->setTemplateText(
//$this->escapeHtml($template->getTemplateText())
//);

Upload and it should display properly.