WYSIWYG+CKEditor outputting span with style attribute I have a strange behaviour on the text editor on my D7 site.
I am using WYSIWYG-7.x-2.1 module with CKEditor v.3.6.3.7474.
If I type:

test
test
test

on the editor then Disable rich-text I can see:
&lt;p&gt;test&lt;/p&gt;&lt;p&gt;test&lt;/p&gt;&lt;p&gt;test&lt;/p&gt;
Which is correct. Now if I Enable rich-text and then put my cursor at end of line 1 then press delete, it makes the 2nd line join the end of the first line:

testtest
test

Then I press Return again to separate those lines:

test
test
test

Now if I Disable rich-text I get:
&lt;p&gt;test&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;line-height: 1.538em;&quot;&gt;test&lt;/span&gt;&lt;/p&gt;&lt;p&gt;test&lt;/p&gt;
As you can see it has created a span tag with line-height css.
It not only does this for paragraphs, it also changes heading tags, like H2 will get changed to a span with style attributes that duplicates the display of h2 but it's a span inside a paragraph tag...
A lot of different developers have worked on this website, but I can't reach them to ask what they did, they probably won't remember anyway.
So I'm asking if anyone else has had this issue and could point me in the right direction. Is it CKEditor config? WYSIWYG config? Drupal config? Version bug? Tried to search Google but don't get much relevant results.
So i might not have the most informed answer, but i think i have a solution:

I face the same problem on our D7 site.

It turns out, if you use Chrome, content you paste in the WYSIWYG usually gets these strange line-spacings. (Regardless of if you choose "paste as plain text", or copy-paste from Notepad).

Use Firefox - and you wont see any &lt;span style="line-height: 1.538em;"&gt; stuff in the HTML!

If anyone knows how to use Chrome and not have these span elements show up - please let me know!

Cheers,

R