line breaks

This commit is contained in:
Andrew Pamment 2017-03-30 23:22:54 +10:00
parent 4b73629423
commit cc5c00a12c

2
deps/aha/aha.c vendored
View File

@ -357,6 +357,8 @@ char * aha(char *input)
case '>': append_output(&output, ">", &size, &outat); break; case '>': append_output(&output, ">", &size, &outat); break;
case '\n':case 13: momline++; case '\n':case 13: momline++;
line=0; line=0;
append_output(&output, "<br />", &size, &outat);
break;
default: { default: {
sprintf(minibuf, "%c", c); sprintf(minibuf, "%c", c);
append_output(&output, minibuf, &size, &outat); append_output(&output, minibuf, &size, &outat);