I have just added ckeditor to a site i'm building and it nearly all works fine. The problem is when I add a link using the link button on the toolbar or add one of my custom style definitions from the pull down box (which creates a span with an associated class) it seems to add them okay initially, when i view source they look like the following:
<span class="title">Title text</span> <a href="http://www.test.com">Link text</a>
However once i click Save these change to :
<span class="\"title\"">Title text</span> <a href="\"http://www.test.com\"">Link text</a>
And each time i click save it adds another \" either side of the href/class definition (almost as if it's replacing the quotes but failing to delete them afterwards). I've implemented ckeditor a number of times and never had this problem before and would be immensely grateful if anyone knows why this might be? I tried upgrading to the lastest version (the only thing i changed was the config.js, contents.css and styles.js files) but I have the same problem, except the href field in links now changes to "\" every time no matter what is entered (and i have the same " problem with the class definitions).
Thanks so much for any light anyone can shed on this as I can't work out why it's doing it!