syntaxhighlighter in blogger interpreting <br /> literally despite html encoding

I am using syntaxhighlighter on a blogger blog. All is working fine, except when the code I want to show contains a <br/> tag, it gets displayed as a new line. This is despite it being HTML encoded (and the following visible in the view source):

&lt;br/&gt;


Is this a bug in syntaxhighlighter? Or is there anything else I can do to fix it?

Blogger Mode Blogger has a nasty habit of replacing all new lines with <br/> tags which makes it impossible to post code snippets. To fix the situation version 1.5.1 introduces "Blogger Mode" which can be enabled before a call to HighlightAll() by a call to BloggerMode() like in the example below:  dp.SyntaxHighlighter.BloggerMode(); dp.SyntaxHighlighter.HighlightAll('code');