Commit Diff
- Commit:
04439a7846b42eb66a9dde6e8965391346c80543
- From:
- Omar Polo <op@omarpolo.com>
- Date:
- Message:
- 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.
- Actions:
- Patch | Tree
--- 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) {