mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-31 11:02:44 +00:00
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:
@@ -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]];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user