I am finding that saving a post, changes the post. Is this supposed to happen?
I was under the impression that post (and the related attributes) is the "model" and the renderers handled all the rendering transforming the model into the view (using MVC parlance).
I am finding that saving certain posts, alters the data of the document so when I load it in again the post is not what I originally entered. Examples of this include converting
<, or if I have a tag that the system thinks has been left over I end up with lots of reciprocal closing tags at the end of my post. My blog has lots of Java code samples which use generics and so lines like
[ codeblock lang="java" ] List < ? > var1 = new LinkedList<String>(); [ /codeblock ] are common. So when I save the post and load it in again there are
</String> s appended to the end of the post.
Is this on purpose? Or is it a bug? If it is intended behaviour, is there anyway to switch it off so that what I save is what I want to see next time I look at the page?