Add escape possibility for everything.
parent
e1ccb875a3
commit
0e58fcdb30
|
@ -132,7 +132,14 @@ main(void)
|
|||
if (line[0] == '%')
|
||||
continue;
|
||||
|
||||
if (line[0] == '#' && line[1] == '#') {
|
||||
if (line[0] == '\\') {
|
||||
if (line[1] == '\0')
|
||||
continue;
|
||||
|
||||
/* ignore text before first header */
|
||||
if (fp)
|
||||
fprintesc(fp, line+1);
|
||||
} else if (line[0] == '#' && line[1] == '#') {
|
||||
if (fp) {
|
||||
fclose(fp);
|
||||
fp = NULL;
|
||||
|
|
Loading…
Reference in New Issue