[evolution] I#1824 - Composer: Preserve STYLE element of the signature



commit faa22c3bb4d5f525afefbc0cbc5734926271fa2f
Author: Milan Crha <mcrha redhat com>
Date:   Thu Mar 3 11:06:00 2022 +0100

    I#1824 - Composer: Preserve STYLE element of the signature
    
    And drop TITLE, if it exists.
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1824

 data/webkit/e-editor.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/webkit/e-editor.js b/data/webkit/e-editor.js
index 14b632804f..55c7bcaaa6 100644
--- a/data/webkit/e-editor.js
+++ b/data/webkit/e-editor.js
@@ -5080,7 +5080,7 @@ EvoEditor.removeUnwantedTags = function(parent)
        for (child = parent.firstChild; child; child = next) {
                next = child.nextSibling;
 
-               if (child.tagName == "STYLE" ||
+               if (child.tagName == "TITLE" ||
                    child.tagName == "META")
                        child.remove();
        }


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