aboutsummaryrefslogtreecommitdiffstats
path: root/em-format
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2013-01-18 21:41:58 +0800
committerMilan Crha <mcrha@redhat.com>2013-01-18 21:41:58 +0800
commit590b4711b78b94cac68a6c52e09a62628b5648d8 (patch)
tree86ed7c984a47c14c559a4d309c5bbec3186444fe /em-format
parent1538b3ef1e8b424d5416c89b936c4c062d0ec339 (diff)
downloadgsoc2013-evolution-590b4711b78b94cac68a6c52e09a62628b5648d8.tar
gsoc2013-evolution-590b4711b78b94cac68a6c52e09a62628b5648d8.tar.gz
gsoc2013-evolution-590b4711b78b94cac68a6c52e09a62628b5648d8.tar.bz2
gsoc2013-evolution-590b4711b78b94cac68a6c52e09a62628b5648d8.tar.lz
gsoc2013-evolution-590b4711b78b94cac68a6c52e09a62628b5648d8.tar.xz
gsoc2013-evolution-590b4711b78b94cac68a6c52e09a62628b5648d8.tar.zst
gsoc2013-evolution-590b4711b78b94cac68a6c52e09a62628b5648d8.zip
Bug #692003 - Print of text/html with no html/body end tag cuts content
Diffstat (limited to 'em-format')
-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 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)