When I use this plugin, the moment I edit my post via CKEditor (instead of writing raw html), it completely destroys the <pre /> tags, removes code indentation and sprinkles everything with paragraph tags.
Had the same problem with all other syntax highlighting plugins as well. It almost seems as if WordPress just isn't a good platform for blogging developers...
http://wordpress.org/extend/plugins/wp-syntax/
nicomania
Member
Posted 12 months ago #
Yes, I have the same prob too. Even the line="1" totally disappeares after every edit in CKE.
But I think the conversion into paragraph tags is ok, so the question should be, why is it not correctly displayed by the browser, like the other tags in the texts?
I have the same problem. We can circumvent this by choosing "Disable the visual editor when writing" in our Profile but this is a real pain as we have to write everything in html, and then we have to toggle on and off from the visual editor. I love what the plugin does for PHP and CSS codes but I hate it when it destroys everything I've built!