On my way to converting articles from Dokuwiki to WordPress, I discovered that the latter had issues with HTML code rendering.
To display the code, you have to (correctly) encode it in your article’s text.
You can check the Writing Code in Your Posts article on WordPress’ website for more informations.
You’ll find a quite complete list of HTML characters here and an HTML encoder here and there.
Now… “y’a plus qu’à” !