I have a pre element with some html code in it. the code has special characters in it, like <, so it doesn\'t break the page.
pre
<
Then I hav
You should be using the .text() method to grab the code from the pre. This way you are't giving the encoded symbols to the code highlighter.