See ChangeLog

Monotone-Parent: 72e46ed049fae790f8f694c94e8ab035260d1289
Monotone-Revision: e80fcb63581735f3366500b850eb549e8db6292f

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2007-12-12T16:47:01
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2007-12-12 16:47:01 +00:00
parent 53ab38a3c1
commit ae9f5def85
4 changed files with 25 additions and 71 deletions

View File

@@ -298,8 +298,6 @@
- (void) characters: (unichar *) _chars
length: (int) _len
{
NSString *tmpString;
showWhoWeAre();
if (!inScript)
{
@@ -307,8 +305,16 @@
[self _appendStyle: _chars length: _len];
else if (inBody)
{
NSString *tmpString;
tmpString = [NSString stringWithCharacters: _chars length: _len];
[result appendString: [tmpString stringByEscapingHTMLString]];
// HACK: This is to avoid appending the useless junk in the <html> tag
// that Outlook adds. It seems to confuse the XML parser for
// forwarded messages as we get this in the _body_ of the email
// while we really aren't in it!
if (![tmpString hasPrefix: @" xmlns:v=\"urn:schemas-microsoft-com:vml\""])
[result appendString: [tmpString stringByEscapingHTMLString]];
}
}
}