My theme has a file:
app/design/{theme}/default/template/sales/order/view.phtml
Around line 78:
<?php if (count($_history)): ?>
<div class="order-additional order-comments">
<h2 class="sub-title"><?php echo $this->__('About Your Order') ?></h2>
<dl class="order-about">
<?php foreach ($_history as $_historyItem): ?>
<dt><?php echo $this->formatDate($_historyItem->getCreatedAtStoreDate(), 'medium', true) ?></dt>
<dd><?php echo $this->escapeHtml($_historyItem->getComment()) ?></dd>
<?php endforeach; ?>
</dl>
</div>
<?php endif; ?>
Our comments include HTML tags. Is it safe for me to remove the $this->escapeHtml()
method so that the HTML is rendered on this page on the frontend?