can some of you tell me how I have to configure my blog so that users can post C++ source code (eg. with geshi)? The posts get truncated after the "<<":
When I try to post a comment in my blog that contains C++ source code like:
Code: Select all
std::ostream operator<<(foo, bar);
Code: Select all
std::ostream operator
I tried to HTML encode the "<" with "<", but then I get
Code: Select all
std::ostream operator<<(foo,bar);
My event plugin list is:
Markup Geshi, Markup Markdown, Markup Serendipity, Markdown Emoticate, (followed by Browser Compatibility, Spam Protector, Link List, Spartacus, Tagging of Entries, Trackback Control).
All markup plugins are active for comments.
I tried several different orders of the plugins to no avail. I removed the NL2BR
plugin, as it somehow has troubles with the geshi and markdown plugin.
Thank you for your help in advance,
interp.