I've added SyntaxHighlighter to my blog powered by Blogger.
First, all single quotes within a <pre>
tag, is converted to double quotes on viewing the post. However, when I edit the post, the single quotes are still there. When I try to use '
or '
instead, then it gives me a single quote & a double quote.
Second, when I show an example of a <b:else />
conditional tag use in SyntaxHighlighter, it add's a closing </b:else />
(there's no such thing) conditional tag. Again, when I go back to edit the post, the </b:else />
is not there. It only appears on post view. Here is what I'm using:
<pre class="brush: xml">
<b:if cond='data:blog.pageType == "item"'>
STANDARD CONTENT (IF STATEMENT IS TRUE)
<b:else/>
ALTERNATIVE CONTENT (IF STATEMENT IS FALSE)
</b:if>
</pre>
It appears as:
<b:if cond=""data:blog.pageType" =="item"">
STANDARD CONTENT (IF STATEMENT IS TRUE)
<b:else>
ALTERNATIVE CONTENT (IF STATEMENT IS FALSE)
</b:else></b:if>
Third, when out <head>
inside a pre tag, it does not show at all on post view. It's blank, but it's there when I edit.
How do I keep it from doing this? It's messing up my tutorial's...