CVSROOT: /cvsroot/mhonarc
Module name: mhonarc
Branch:
Changes by: Earl Hood <earl(_at_)earlhood(_dot_)com> 03/09/30 16:53:59
Modified files:
MHonArc : CHANGES
MHonArc/lib : mhtxtplain.pl
Log message:
* Changed default quoting styles: Left rule changed from 0.1em
to 0.2em and the color changed from #0000FF to #5555EE.
* Minor changes to flowed formatting in order to provide
consistancy with how Mozilla's Gecko engine renders flowed text.
Patches:
Index: mhonarc/MHonArc/CHANGES
diff -u mhonarc/MHonArc/CHANGES:1.118 mhonarc/MHonArc/CHANGES:1.119
--- mhonarc/MHonArc/CHANGES:1.118 Mon Sep 29 01:03:57 2003
+++ mhonarc/MHonArc/CHANGES Tue Sep 30 16:53:58 2003
@@ -20,6 +20,13 @@
is a random string. The change corresponds with a change to the
API to mhonarc::write_attachment() function in mhmimetypes.pl.
+* m2h_text_plain::filter:
+ . Changed default quoting styles: Left rule changed from 0.1em
+ to 0.2em and the color changed from #0000FF to #5555EE.
+
+ . Minor changes to flowed formatting in order to provide
+ consistancy with how Mozilla's Gecko engine renders flowed text.
+
* base64.pl will use MIME::Base64 module if present. MIME::Base64
uses an underly C implementation for decoding, so it is noticably
faster than the pure-Perl approach.
@@ -2585,4 +2592,4 @@
=======================================================================
Earl Hood, mhonarc(_at_)mhonarc(_dot_)org
-$Id: CHANGES,v 1.118 2003/09/29 05:03:57 ehood Exp $
+$Id: CHANGES,v 1.119 2003/09/30 20:53:58 ehood Exp $
Index: mhonarc/MHonArc/lib/mhtxtplain.pl
diff -u mhonarc/MHonArc/lib/mhtxtplain.pl:2.41 mhonarc/MHonArc/lib/mhtxtplain.pl:2.42
--- mhonarc/MHonArc/lib/mhtxtplain.pl:2.41 Mon Sep 29 01:03:57 2003
+++ mhonarc/MHonArc/lib/mhtxtplain.pl Tue Sep 30 16:53:59 2003
@@ -1,6 +1,6 @@
##---------------------------------------------------------------------------##
## File:
-## $Id: mhtxtplain.pl,v 2.41 2003/09/29 05:03:57 ehood Exp $
+## $Id: mhtxtplain.pl,v 2.42 2003/09/30 20:53:59 ehood Exp $
## Author:
## Earl Hood mhonarc(_at_)mhonarc(_dot_)org
## Description:
@@ -49,8 +49,8 @@
$HQuoteChars = '>';
$StartFlowedQuote =
- '<blockquote style="border-left: #0000FF solid 0.1em; '.
- 'margin: 0em; padding-left: 1.0em">';
+ '<blockquote style="border-left: #5555EE solid 0.2em; '.
+ 'margin: 0em; padding-left: 0.85em">';
$EndFlowedQuote = "</blockquote>";
$StartFixedQuote = '<pre style="margin: 0em;">';
$EndFixedQuote = '</pre>';
@@ -389,7 +389,6 @@
$para =~ s/^\n/<br>/;
my $nls = ($para =~ tr/\n/\n/);
if (($para =~ / \n/) || ($para =~ / \Z/) ||
- ($nls < 1) ||
(($nls == 1) && ($para =~ /\S/)
&& ($para =~ /\n\Z/))) {
# flowed format
@@ -415,6 +414,9 @@
$para =~ s/^(.*)$/&preserve_space($1)/gem;
}
$chunk .= $para;
+ } elsif (($nls < 1) && ($para !~ /\S/)) {
+ #$chunk .= '<br>';
+ $chunk .= $startfixq . '<br>' . $endfixq;
} else {
$chunk .= $startfixq . $para . $endfixq;
}
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-COMMITS