I followed this post and setup SyntaxHighlighter for my blogger. In addition, I added to the head
http://syntaxhighlighter.googlecode.com/svn/trunk/Scripts/shBrushBash.js
for rendering bash code, and then I tried to render a line like this
<pre name="code" class="bash">
ls > output.txt
</pre>
But the >
becomes >
, and I have tried the following, as well: <
, >
, <>
, ><
, <1>
, <1a>
, <a1a>
, <a a>
, but none of them works, and all brackets get rendered to either >
or <
. I have even tried >
, but it becomes >
, too.
Surprisingly, <a>
gets rendered to <a>
correctly, so to me, seems that the brackets have to come in pair and there have to be some letters, but no space or numbers in between, why is that? How could I simply render the above line of code properly?
I found this problem when comparing these two posts: