mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-05-01 21:38:01 +02:00
Convert \n from continuation lines in INCLUDECMD to ' ' to make it a little friendlier.
This commit is contained in:
@@ -575,6 +575,10 @@ int DoIncludeCmd(ParsePtr p)
|
||||
continue;
|
||||
}
|
||||
seen_nonspace = 1;
|
||||
/* Convert \n to ' ' to better handle line continuation */
|
||||
if (ch == '\n') {
|
||||
ch = ' ';
|
||||
}
|
||||
append_buf[0] = (char) ch;
|
||||
if (DBufPuts(&buf, append_buf) != OK) {
|
||||
DBufFree(&buf);
|
||||
|
||||
Reference in New Issue
Block a user