aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)