Optimisations...

Monotone-Parent: 8b8f40b39b92d25a5eb1161d5efe0bd91fd3e207
Monotone-Revision: 015eb4cf8ecea01eb6fda8056121a53f54047e09

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2007-10-10T20:34:34
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte committed 2007-10-10 20:34:34 +00:00
1 parent 778658c75a
commit e6964ac180
3 files changed
+7 -3

No files matched your search

+6
View File
@@ -11,6 +11,12 @@
the MailFieldNames attribute (an array) specified
in every LDAP-based authentication sources.
* UI/MailPartViewers/UIxMailPartTextViewer.m and
UI/WebServerResources/MailerUI.css
We avoid replacing "\r\n" and "\n" with <br /> and
rather use CSS capabilities for proper formatting.
This is _WAY_ faster on very large mails.
2007-10-05 Ludovic Marcotte <ludovic@inverse.ca>
@@ -44,8 +44,6 @@
content = [NSMutableString string];
superContent = [[super flatContentAsString] stringByEscapingHTMLString];
[content appendString: [superContent stringByDetectingURLs]];
[content replaceString: @"\r\n" withString: @"<br />"];
[content replaceString: @"\n" withString: @"<br />"];
return content;
}
+1 -1
View File
@@ -367,7 +367,7 @@ DIV.mailer_plaincontent
{
position: relative;
font-family: monospace, fixed;
white-space: normal;
white-space: pre;
font-size: inherit;
margin: 0px;
padding: 0px;