summaryrefslogtreecommitdiff
path: root/content/content.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2006-02-12 23:07:28 +0000
committerJames Bursa <james@netsurf-browser.org>2006-02-12 23:07:28 +0000
commit415254c326ea4c34d991104ffb2419f57098a7f7 (patch)
tree68f815d5a478cf88c661330ba299f4db366fbd77 /content/content.c
parentdd0cafccccca0fbcda8de2531a9f0c8038b7c91a (diff)
downloadnetsurf-415254c326ea4c34d991104ffb2419f57098a7f7.tar.gz
netsurf-415254c326ea4c34d991104ffb2419f57098a7f7.tar.bz2
[project @ 2006-02-12 23:07:28 by bursa]
Rewrite handling of text/plain contents. Now rendered directly instead of converting to HTML. svn path=/import/netsurf/; revision=2078
Diffstat (limited to 'content/content.c')
-rw-r--r--content/content.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/content.c b/content/content.c
index adf0cb6c8..dd0f855d6 100644
--- a/content/content.c
+++ b/content/content.c
@@ -190,7 +190,8 @@ static const struct handler_entry handler_map[] = {
html_open, html_close,
true},
{textplain_create, textplain_process_data, textplain_convert,
- 0, 0, 0, 0, 0, 0, true},
+ textplain_reformat, textplain_destroy, 0, textplain_redraw,
+ 0, 0, true},
{0, 0, css_convert, 0, css_destroy, 0, 0, 0, 0, false},
#ifdef WITH_JPEG
{0, 0, nsjpeg_convert,