Added \r\n after quote

SVN revision: 1657
This commit is contained in:
2006-02-13 09:26:23 +00:00
parent 907b46a04e
commit ca60501c94
+4 -4
View File
@@ -5641,8 +5641,8 @@ PATTERN_LIST pattern_list[] = {
"<br /><table class=\"quotetable\" align=\"center\" cellspacing=\"1\"><tr><td class=\"quotetitle\">%s:</td></tr><tr><td class=\"quote\">"},
{"[quote]",
"<br /><table class=\"quotetable\" align=\"center\" cellspacing=\"1\"><tr><td class=\"quotetitle\">%s:</td></tr><tr><td class=\"quote\">"},
{"[/quote]\r", "</td></tr></table><br />"},
{"[/quote]", "</td></tr></table>"},
{"[/quote]\r", "</td></tr></table><br />\r\n"},
{"[/quote]", "</td></tr></table>\r\n"},
{"", ""}
};
@@ -18591,14 +18591,14 @@ int compose_email(LOGBOOK * lbs, char *mail_to, int message_id,
status = sendmail(lbs, smtp_host, mail_from, mail_to, mail_text, error, sizeof(error));
/*
/*
{
int fh;
fh = open("mail.html", O_WRONLY | O_BINARY | O_CREAT | O_TRUNC, 0644);
write(fh, mail_text, strlen(mail_text));
close(fh);
}
*/
*/
if (status < 0) {
sprintf(str, loc("Error sending Email via <i>\"%s\"</i>"), smtp_host);