[evolution] I#1156 - Composer: HTML email signature not stripped



commit 4a66ccf042b955aa8ee05c95665ad5cc2d787c77
Author: Milan Crha <mcrha redhat com>
Date:   Thu Oct 15 14:18:18 2020 +0200

    I#1156 - Composer: HTML email signature not stripped
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1156

 src/em-format/e-mail-stripsig-filter.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/src/em-format/e-mail-stripsig-filter.c b/src/em-format/e-mail-stripsig-filter.c
index be2d29546d..13f7824b21 100644
--- a/src/em-format/e-mail-stripsig-filter.c
+++ b/src/em-format/e-mail-stripsig-filter.c
@@ -36,7 +36,15 @@ is_html_newline_marker (const gchar *text,
 {
        const gchar *cases[] = {
                "<br>",
-               "div><br></div>",
+               "<div>",
+               "<div ",
+               "</div>",
+               "<p>",
+               "<p ",
+               "</p>",
+               "<pre>",
+               "<pre ",
+               "</pre>",
                NULL };
        gint ii;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]