From 1038d554e41b4007461a0c74a89625fd03107f7f Mon Sep 17 00:00:00 2001
From: svncommit <devs@roundcube.net>
Date: Thu, 20 Oct 2005 13:33:39 -0400
Subject: [PATCH] 

---
 program/steps/mail/func.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 01b02bb..c0b303a 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -251,7 +251,7 @@
   $out .= "<thead><tr>\n<td class=\"icon\">&nbsp;</td>\n";
  
   foreach ($a_show_cols as $col)
-    $out .= '<td class="'.$col.'">' . rcube_label($col) . "</td>\n";
+    $out .= '<td class="'.$col.'">' . rep_specialchars_output(rcube_label($col)) . "</td>\n";
 
   $out .= '<td class="icon">'.($attrib['attachmenticon'] ? sprintf($image_tag, $skin_path, $attrib['attachmenticon'], '') : '')."</td>\n";
   $out .= "</tr></thead>\n<tbody>\n";
@@ -813,7 +813,7 @@
       $header_value = rep_specialchars_output($IMAP->decode_header($headers[$hkey]), '', 'all');
 
     $out .= "\n<tr>\n";
-    $out .= '<td class="header-title">'.rcube_label($hkey).":&nbsp;</td>\n";
+    $out .= '<td class="header-title">'.rep_specialchars_output(rcube_label($hkey)).":&nbsp;</td>\n";
     $out .= '<td class="'.$hkey.'" width="90%">'.$header_value."</td>\n</tr>";
     $header_count++;
     }

--
Gitblit v1.9.1