WordPress.org

Ready to get started?Download WordPress

Forums

SyntaxHighlighter Evolved
Greater than sign issue (2 posts)

  1. ShayLevy
    Member
    Posted 1 year ago #

    Hi

    I noticed that when I post PoweShell code and using PowerShell prompt in the snippet (e.g PS>) some of the post code and text are added just beneath the post title (http://www.powershellmagazine.com/2012/10/12/pstip-converting-numbers-to-hex/)

    If I remove the 'greater than' sign from the prompt (e.g PS) the problem disappear.

    Any ideas why?

    [code lang="powershell"]
    PS> 0xAE
    174
    [/code]

    http://wordpress.org/extend/plugins/syntaxhighlighter/

  2. petervanderdoes
    Member
    Posted 1 year ago #

    I just discovered the following:

    All text that looks like a HTML tag will create closing tags on the bottom of the text. I don't really know if that has always been the case or it was introduced with a WordPress update or another plugin

    For example

    <pre class="brush:plain gutter:false">
    The new command structure is hello <subcommand>
    More text
    More text
    </pre>

    Will show as

    The new command structure is hello <subcommand>
    More text
    More text
    </subcommand>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.