Hi,
I am trying to add code to my web site, using a custom code class. To keep the code "clean" I add the pre tag.
my basic setup is like this:
<pre>
<div class ="code"> /* 17L02.c: Using the free() function */
#include <stdio.h>
#include <stdlib.h>
/* main() function */
main()
{
}
</div>
</pre>
The problem is, for some reason the resulting post is omitting code between the < and > symbols. I suppose because it is reading this as html. I thought that the pre tag would hide the html from WordPress, so that every character would show up exactly as typed. Am I missing something?
See post here:
http://oliverwolfson.com/codeclass/