P tags added to end of source when applying styles
CKEditor Version: 3.6.4
Browser: Safari 6 or Chrome 21
We have a problem where empty paragraphs or breaks get added to the end of the source without cause. I have boiled it down to a simple case. You can reproduce it easily in the CKEditor demo here:
http://ckeditor.com/demo
Steps to reproduce:
1: Open a CKEditor
2: Click Source to switch to source code view
3: Enter this HTML:
<div><ul><li>test</li></ul></div>