Crayon Syntax Highlighter
Bogus output (2 posts)

  1. Daniel A. from G.
    Posted 3 years ago #


    I am using the current Google Chrome and IE9 Versions. When I post code (defaulted to "Default" or "C#", with any plugin theme) I get square chars in my source code in published post view. My theme is "Twenty Twelve", but the live preview of "Twenty Ten" shows the same errors.

    Plain code displays correctly:

    private void GetConfigStore()
        SPSite applicationRootSite = null;

    Standard output is ugly (on my site, some of the question marks are squares):

    ��= null;

    I also edited an old post, adding and removing some new code examples. The result was this output (ignore the "<br"s, the forum editor inserted them when I edited this post here):

    <br />
    <span style="color: blue;">private</span> <span style="color: blue;">void</span> GetConfigStore()<br />
    {<br />
        <span style="color: #2b91af;">SPSite</span> �= <span style="color: blue;">null</span>;</p>
    <p>    <span style="color: blue;">try</span><br />
        {<br />
            �= <span style="color:

    What the heck ...?


  2. akarmenia
    Plugin Author

    Posted 3 years ago #

    Are you using the Visual editor, or the HTML editor? I used the visual editor and it brought up:


    If you're using the Tag Editor (recommended) then it'll create pre tags for you. Deactivate crayon and they will appear as plain pre tags - if you still see the blocks then it's your input that's not unicode compliant rather than Crayon messing with it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Crayon Syntax Highlighter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic