aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-format-html.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 6ec6a9d234..9b90e02e67 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2008-06-21 Paul Bolle <pebolle@tiscali.nl>
+
+ ** Fix for bug #538741
+
+ * em-format-html.c: (efh_format_header):
+ Strip preceding tabs from Date headers too.
+
2008-06-21 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #537725
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 8b3e788140..5c76c5e861 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -1750,7 +1750,7 @@ efh_format_header(EMFormat *emf, CamelStream *stream, CamelMedium *part, struct
struct tm local;
txt = header->value;
- while (*txt == ' ')
+ while (*txt == ' ' || *txt == '\t')
txt++;
/* Show the local timezone equivalent in brackets if the sender is remote */