mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Added \r\n after quote
SVN revision: 1657
This commit is contained in:
parent
907b46a04e
commit
ca60501c94
@ -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\">"},
|
"<br /><table class=\"quotetable\" align=\"center\" cellspacing=\"1\"><tr><td class=\"quotetitle\">%s:</td></tr><tr><td class=\"quote\">"},
|
||||||
{"[quote]",
|
{"[quote]",
|
||||||
"<br /><table class=\"quotetable\" align=\"center\" cellspacing=\"1\"><tr><td class=\"quotetitle\">%s:</td></tr><tr><td class=\"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]\r", "</td></tr></table><br />\r\n"},
|
||||||
{"[/quote]", "</td></tr></table>"},
|
{"[/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));
|
status = sendmail(lbs, smtp_host, mail_from, mail_to, mail_text, error, sizeof(error));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
{
|
{
|
||||||
int fh;
|
int fh;
|
||||||
fh = open("mail.html", O_WRONLY | O_BINARY | O_CREAT | O_TRUNC, 0644);
|
fh = open("mail.html", O_WRONLY | O_BINARY | O_CREAT | O_TRUNC, 0644);
|
||||||
write(fh, mail_text, strlen(mail_text));
|
write(fh, mail_text, strlen(mail_text));
|
||||||
close(fh);
|
close(fh);
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (status < 0) {
|
if (status < 0) {
|
||||||
sprintf(str, loc("Error sending Email via <i>\"%s\"</i>"), smtp_host);
|
sprintf(str, loc("Error sending Email via <i>\"%s\"</i>"), smtp_host);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user