I found out that my issue was the fact that my php installation had magic_quotes enabled so that's what was throwing off my ckeditor.
Why does ckfinder break image tags when editing?
Question
I have ckeditor and ckfinder configured properly and when I inserted a picture it works but when I added some styles its prints the styles outside the style tag
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow