aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2013-01-18 21:42:30 +0800
committerMilan Crha <mcrha@redhat.com>2013-01-18 21:42:30 +0800
commitf03fab618531179a84bb2b1ff5a517bbf398de39 (patch)
tree364a6fc7292953ac942b4d43d3a59b1d047230d8
parent8850b60bb9ee8e79920c5043cad05d347c30169d (diff)
downloadgsoc2013-evolution-f03fab618531179a84bb2b1ff5a517bbf398de39.tar.gz
gsoc2013-evolution-f03fab618531179a84bb2b1ff5a517bbf398de39.tar.zst
gsoc2013-evolution-f03fab618531179a84bb2b1ff5a517bbf398de39.zip
Bug #692003 - Print of text/html with no html/body end tag cuts content
-rw-r--r--em-format/e-mail-formatter-text-html.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/em-format/e-mail-formatter-text-html.c b/em-format/e-mail-formatter-text-html.c
index 8b23a1897e..74cef432ac 100644
--- a/em-format/e-mail-formatter-text-html.c
+++ b/em-format/e-mail-formatter-text-html.c
@@ -302,6 +302,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)