[geary/mainline: 1/2] Ignore style nodes while converting HTML to text
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/mainline: 1/2] Ignore style nodes while converting HTML to text
- Date: Fri, 5 Apr 2019 09:45:55 +0000 (UTC)
commit 1a6113efa4141231b49383f05f796c7527046aba
Author: Jiří Černý <ji cerny gmail com>
Date: Fri Apr 5 09:45:14 2019 +0200
Ignore style nodes while converting HTML to text
ui/composer-web-view.js | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/ui/composer-web-view.js b/ui/composer-web-view.js
index 5d13d374..9a55bd06 100644
--- a/ui/composer-web-view.js
+++ b/ui/composer-web-view.js
@@ -544,6 +544,7 @@ ComposerPageState.htmlToText = function(root) {
}
break;
case "#comment":
+ case "style":
break;
default:
text += ComposerPageState.htmlToText(node);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]