[geary/gnome-3-32] Merge branch 'ignore_style_nodes' into 'mainline'



commit fdac6ee678361ef723d4f77109d18803fbd61cef
Author: Michael Gratton <mike vee net>
Date:   Fri Apr 5 09:45:37 2019 +0000

    Merge branch 'ignore_style_nodes' into 'mainline'
    
    Ignore style nodes while converting HTML to text
    
    See merge request GNOME/geary!196
    
    (cherry picked from commit bb8123eb56827c15e30631b721dd73ea22765cd8)
    
    1a6113ef 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 876e4cb5..ac06fcc5 100644
--- a/ui/composer-web-view.js
+++ b/ui/composer-web-view.js
@@ -546,6 +546,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]