diff --git a/ihtml/themes/breezy/msg_dialog.tpl b/ihtml/themes/breezy/msg_dialog.tpl
index 1189491b2d6bc6d15001ea6c3a39cffc3633daf2..a10127140680a8124569ef8e4e63e28309590cdf 100644
--- a/ihtml/themes/breezy/msg_dialog.tpl
+++ b/ihtml/themes/breezy/msg_dialog.tpl
@@ -41,12 +41,12 @@
       {elseif $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG}
         <img src="geticon.php?context=status&amp;icon=dialog-information&amp;size=32" class="center" alt="{t}Information{/t}"/>
       {/if}
-        {$s_Title|escape}
+        {$s_Title}
       </h2>
     </div>
 
     <div style="z-index:250;width:100%;">
-      {$s_Message|escape}
+      {$s_Message}
     </div>
     <div class="plugbottom">
       {if $s_Trace != "" && $i_TraceCnt != 0}
diff --git a/include/class_msg_dialog.inc b/include/class_msg_dialog.inc
index f14e6acaf58065591650a258569ecf021d817178..911606ffb10a2110be7d4b50f481a3a69c21f6e0 100644
--- a/include/class_msg_dialog.inc
+++ b/include/class_msg_dialog.inc
@@ -172,8 +172,8 @@ class msg_dialog
               <img src="geticon.php?context=status&amp;icon=dialog-error&amp;size=32" alt="'._('Error').'"/>
             </td>
             <td style="width:100%">
-              <b>'.htmlentities($this->s_Title, ENT_COMPAT, 'UTF-8').'</b><br/>
-              '.htmlentities($this->s_Message, ENT_COMPAT, 'UTF-8').'<br><br/>
+              <b>'.$this->s_Title.'</b><br/>
+              '.$this->s_Message.'<br><br/>
               '._('Please fix the above error and reload the page.').'
             </td>
           </tr>