Strange Happenings With SyntaxHighlighter On Blogger -
i've added syntaxhighlighter blog powered blogger.
first, single quotes within <pre>
tag, converted double quotes on viewing post. however, when edit post, single quotes still there. when try use '
or '
instead, gives me single quote & double quote.
second, when show example of <b:else />
conditional tag use in syntaxhighlighter, add's closing </b:else />
(there's no such thing) conditional tag. again, when go edit post, </b:else />
not there. appears on post view. here i'm using:
<pre class="brush: xml"> <b:if cond='data:blog.pagetype == "item"'> standard content (if statement true) <b:else/> alternative content (if statement false) </b:if> </pre> appears as: <b:if cond=""data:blog.pagetype" =="item""> standard content (if statement true) <b:else> alternative content (if statement false) </b:else></b:if>
third, when out <head>
inside pre tag, not show @ on post view. it's blank, it's there when edit.
how keep doing this? it's messing tutorial's...
try using anouth syntax highlighter. use prism , works totaly fine. wrote tutorial on how instal it, if you're interested: http://bekreatief.blogspot.ch/2013/04/blogger-syntax-highlighter.html
Comments
Post a Comment