diff options
Diffstat (limited to 'composer')
-rw-r--r-- | composer/ChangeLog | 5 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 0f6d71c0f6..c3e23b5b4d 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,8 @@ +2001-07-26 Peter Williams <peterw@ximian.com> + + * e-msg-composer.c (get_signature_html): Correct our manually inserted + signature dash thingie (it was missing the space). + 2001-07-26 Jon Trowbridge <trow@ximian.com> * e-msg-composer-hdrs.c (set_recipients): Get "destinations", diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 5ba7a5c838..dcfdd896a8 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -763,12 +763,16 @@ get_signature_html (EMsgComposer *composer) text = e_msg_composer_get_sig_file_content (sig_file, format_html); if (text) { + /* The signature dash convention ("-- \n") is specified in the + * "Son of RFC 1036": http://www.chemie.fu-berlin.de/outerspace/netnews/son-of-1036.html, + * section 4.3.2. + */ html = g_strdup_printf ("<!--+GtkHTML:<DATA class=\"ClueFlow\" key=\"signature\" value=\"1\">-->" "<TABLE WIDTH=\"100%%\" CELLSPACING=\"0\" CELLPADDING=\"0\"><TR><TD>" "%s%s%s%s" "</TD></TR></TABLE>", format_html ? "" : "<PRE>\n", - format_html || !strncmp ("-- \n", text, 3) ? "" : "--\n", + format_html || !strncmp ("-- \n", text, 3) ? "" : "-- \n", text, format_html ? "" : "</PRE>\n"); g_free (text); |