id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 13450,CKEditor leaving stray markup in style sheet,Marcus Bointon,,"Today I was alerted to some errors from our CSS inliner. On inspecting it, I found that CKEditor had inserted a style tag in the middle of a style sheet, so it ended up like this: {{{ ... table.columns .right-text-pad { padding-right: 10px; } ... }}} It was inserted right at the bottom of the style tag that was there already, but still inside it. It's nothing to do with our inliner as I've since found it in other content that doesn't use it. As you can see, it looks like it has happened more than once. I'm getting the the contents of the editor using cke.getData(), saving it via XHR, which gives me a filtered version back, and so I reinject it into the editor with cke.setData(). For this to happen, it must mean that getData is including this temporary markup. Very occasionally I've seen another similar problem where every image in the content (which usually gets the little drag cross icon attached top left on rollover) gets the drag icon image permanently attached. I think it's similar in that it's temporary markup injected by ckeditor failing to be cleaned up in the final output, which should be free of such things. Unfortunately I can't reproduce this reliably so can't give you a test case at present, but I assume that this is done in some consistent way.",Bug,closed,Normal,,Core : Output Data,,expired,,