From 41014ea1a9f916e4ba79ff27d8fedd0b89f6b7d4 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Thu, 26 Jul 2001 15:58:09 +0000 Subject: Correct our manually inserted signature dash thingie (it was missing the 2001-07-26 Peter Williams * e-msg-composer.c (get_signature_html): Correct our manually inserted signature dash thingie (it was missing the space). svn path=/trunk/; revision=11426 --- composer/ChangeLog | 5 +++++ composer/e-msg-composer.c | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'composer') 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 + + * e-msg-composer.c (get_signature_html): Correct our manually inserted + signature dash thingie (it was missing the space). + 2001-07-26 Jon Trowbridge * 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 ("" "
" "%s%s%s%s" "
", format_html ? "" : "
\n",
-					format_html || !strncmp ("-- \n", text, 3) ? "" : "--\n",
+					format_html || !strncmp ("-- \n", text, 3) ? "" : "-- \n",
 					text,
 					format_html ? "" : "
\n"); g_free (text); -- cgit v1.2.3