RedCloth 4 vs. CodeHighlighter
If you’re using RedCloth 4 with a Radiant site like I am (0.7 will support the gem version), beware that it may parse <pre><code> blocks incorrectly. Witness below – the key is wrapping those in <notextile> blocks.
Correct
:code.to_s
Incorrect
:code.to_s