diff options
Diffstat (limited to 'src/textview.c')
-rw-r--r-- | src/textview.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/textview.c b/src/textview.c index fe30d64e..d5fc7353 100644 --- a/src/textview.c +++ b/src/textview.c @@ -729,7 +729,7 @@ static void textview_show_html(TextView *textview, FILE *fp, CodeConverter *conv) { HTMLParser *parser; - gchar *str; + const gchar *str; parser = html_parser_new(fp, conv); g_return_if_fail(parser != NULL); @@ -740,6 +740,8 @@ static void textview_show_html(TextView *textview, FILE *fp, else textview_write_line(textview, str, NULL); } + textview_write_line(textview, "\n", NULL); + html_parser_destroy(parser); } |