Loading...
 
Features / Usability

Features / Usability


{ CODE() } plugin with C code

posts: 2

I tried to post a C code on a forum like below ;

<pre>
Copy to clipboard
#include < stdio.h > // Spaces in the < > are intentionally inserted int main() { printf ("Hello, World!\n'); return 0; }
</pre>


the result was;

Copy to clipboard
#include <stdio.h> int main() { printf ("Hello, World!\n'); return 0; }


'stdio.h' disappears!
It seems to recognize stdio.h as a HTML tag.
How can I solve this problem?

posts: 35 Switzerland

I had a similar problem with the SQL plugin (and a comparison in my WHERE clause).

checking "Allow HTML" on the Wiki page worked for me.

HTH
Frankie