From 590b4711b78b94cac68a6c52e09a62628b5648d8 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 18 Jan 2013 14:41:58 +0100 Subject: Bug #692003 - Print of text/html with no html/body end tag cuts content --- em-format/e-mail-formatter-text-html.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'em-format') diff --git a/em-format/e-mail-formatter-text-html.c b/em-format/e-mail-formatter-text-html.c index 4809c35e4d..e32c48bab8 100644 --- a/em-format/e-mail-formatter-text-html.c +++ b/em-format/e-mail-formatter-text-html.c @@ -285,6 +285,9 @@ emfe_text_html_format (EMailFormatterExtension *extension, tag = g_utf8_find_prev_char (string->str, tag); valid = FALSE; } + } else { + /* do not cut, if there is no end tag */ + valid = FALSE; } if (valid) -- cgit v1.2.3