I'm pulling information from several rich text fields in a SharePoint 2010 list and having the returned data appear in CKEditor. When the text arrives, however, it still contains the HTML tags:
<div class="ExternalClass8BD0D1707708410B98B2F32F0101052A"><ul><li>Here is a list item</li><li>Here's another</li> <li>And a third</li></ul></div>
What I'm hoping to accomplish is that all formatting remains and is simply rendered appropriately within the editor. This will help make for a more seamless user experience, since they don't know or care about HTML tags. Thus, the text a user would see in the editor would be:
- Here is a list item
- Here's another
- And a third
Have I missed a setting that does this?
In case it's useful, an example element is <div id="notes" contenteditable="true"></div> (using inline editing) and I use a jQuery call ($("#notes").text(notes);) to write the returned results into div#notes. I have a feeling the culprit may be the use of .text, which means the HTML is treated as a string instead of renderable text, but don't know enough about jQuery to know how to do this properly. I'm researching now.

Fixed: I was right-- the
Fixed: I was right-- the problem was using .text. I switched to .html instead, and text shows as rendered HTML instead.