Support » Plugins » SyntaxHighlighter Plus and Greater Than Replacement

  • I am running SyntaxHighlighter Plus so that I can post code boxes. WordPress is replacing certain characters with & definitions and not displaying those characters under certain circumstances. I am seeking a way to remedy this situation.

    Here is an example:

    http://www.soundunreason.com/InkWell/?p=2313

    The code includes the standard BASH error redirection in line 7 ( 2> ) but as you can see in the post it is converted to 2> and not reconverted in the displayed post. Lines 4 and 5 contain some greater than symbols which are converted (in the backend) and reconverted in the displayed post.

    How can I ensure that all instances of greater than in code blocks are displayed as the symbol?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Um, that should read more like “… as you can see in the post it is converted to 2_&_g_t_; and not reconverted…”. (Thanks, WordPress.)

    Sorry I moved some of the comments around for clarity.

    The problem child is now in line 9 and it is lines 5 and 7 that contain the & definitions which are working.

    Um, is there no one who can contribute positively on this matter?

    So, I have narrowed down the problem. Not that anyone around here seems to care, mind you.

    If the greater than symbol is in a comments line (any line preceded by # while in BASH code for instance) the symbol is changed to its & code at Save and rendered correctly when viewed as a post.

    If the greater than symbol is in a line of actual code the symbol is changed to its & code at Save but NOT rendered as a greater than symbol when live (you see the full & code instead).

    By chance, anyone have any suggestions?

    Seriously? Nobody uses this?

    Ok, so which plugin should I be using if no one is using this one?

    Moderator James Huff

    (@macmanx)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘SyntaxHighlighter Plus and Greater Than Replacement’ is closed to new replies.