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

And drop TITLE, if it exists.

Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1824
This commit is contained in:
Milan Crha
2022-03-03 11:06:00 +01:00
parent 4d4ae35350
commit faa22c3bb4

View File

@ -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();
}