Preserve initial newline

main
cel 5 years ago
parent de280b624c
commit d0d151f86b

@ -633,7 +633,7 @@ static int dpi_serve_zet(int fd, char *path) {
rc |= dprintf(fd, rc |= dprintf(fd,
"<table style=\"width:100%%; height:100%%\"><tr>" "<table style=\"width:100%%; height:100%%\"><tr>"
"<td style=\"width:50%%\"><form method=post action=\"%s%s\" enctype=\"multipart/form-data\" style=\"height:100%%\">" "<td style=\"width:50%%\"><form method=post action=\"%s%s\" enctype=\"multipart/form-data\" style=\"height:100%%\">"
"<textarea name=text cols=64 rows=%d style=\"width:100%%\">" "<textarea name=text cols=64 rows=%d style=\"width:100%%\">\n"
, server_url, id, rows); , server_url, id, rows);
rc = passthrough_note_html(fd, note_fd); rc = passthrough_note_html(fd, note_fd);
if (rc < 0) { warnx("passthrough_note_html"); close(fd); return 0; } if (rc < 0) { warnx("passthrough_note_html"); close(fd); return 0; }

Loading…
Cancel
Save