Using the visual editor, everything works fine when I initially create a post. However, if I edit a post I noticed that line breaks that were put in after the end of the code snippet are removed.
For instance, I may enter a code snippet in to the visual editor, followed by some text, such as....
class Foo {
public:
// ... more code
}; <--- code snippet ends here
This would be an explanation of the code.
In the original post, there would be two line breaks after the code snuppet ends. However, if I leave the post entry screen, and come back to edit it later, the extra line break is deleted, and it ends up looking like...
class Foo {
public:
// ... more code
}; <--- code snippet ends here
This would be an explanation of the code.
I really like the plugin, but it makes it difficult to edit posts, because I am constantly having to re-add extra line breaks every time I wish to make a change.