http://code.google.com/p/syntaxhighlighter/
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.2 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');
Here's the code as posted by Blogger:
<script type='text/javascript'><br />_WidgetManager._Init=function(){};<br />_WidgetManager._SetPageActionUrl=function(){};<br />_WidgetManager._SetDataContext=function(){};<br />_WidgetManager._SetSystemMarkup=function(){};<br />_WidgetManager._RegisterWidget=function(){};<br /></script>
Here's the highlighted result:
<script type='text/javascript'>
_WidgetManager._Init=function(){};
_WidgetManager._SetPageActionUrl=function(){};
_WidgetManager._SetDataContext=function(){};
_WidgetManager._SetSystemMarkup=function(){};
_WidgetManager._RegisterWidget=function(){};
</script>