commit 04439a7846b42eb66a9dde6e8965391346c80543 from: Omar Polo date: Sun Jul 25 20:28:46 2021 UTC rendering text/plain documents as text an not pre-content let's start an experiments: using LINE_TEXT instead of LINE_PRE_CONTENT for documents managed by the texplain parser. I never read much text/plain content until now, but by starting to use finger and gopher the amount of text pages is only bound to grow. commit - d646a8f7a7d938fd0a0a3e45723b8668a9c9d431 commit + 04439a7846b42eb66a9dde6e8965391346c80543 blob - 86b092a3593c75524d7ed6de641bb3d607a98b0b blob + c2c15573d75498e3c49d8ec25c46da2d2f94c530 --- parser_textplain.c +++ parser_textplain.c @@ -36,7 +36,7 @@ emit_line(struct parser *p, const char *line, size_t l if ((l = calloc(1, sizeof(*l))) == NULL) return 0; - l->type = LINE_PRE_CONTENT; + l->type = LINE_TEXT; if (len != 0) { if ((l->line = calloc(1, len+1)) == NULL) {