Commit fdac6ee6 authored by Michael Gratton's avatar Michael Gratton 🤞

Merge branch 'ignore_style_nodes' into 'mainline'

Ignore style nodes while converting HTML to text

See merge request !196

(cherry picked from commit bb8123eb)

1a6113ef Ignore style nodes while converting HTML to text
parent d2b6841c
Pipeline #73270 passed with stages
in 37 minutes and 19 seconds
......@@ -546,6 +546,7 @@ ComposerPageState.htmlToText = function(root) {
}
break;
case "#comment":
case "style":
break;
default:
text += ComposerPageState.htmlToText(node);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment