WordPress.org

Ready to get started?Download WordPress

Forums

SyntaxHighlighter Evolved
Unnecessary returns are added in URL list (3 posts)

  1. Tats Shibata
    Member
    Posted 3 years ago #

    Hi,

    I'm facing an issue which unnecessary return codes are added when listing some URLs. Does anyone have workarounds?

    Version:
    WordPress 3.1.2
    SyntaxHighlighter Evolved: 3.1.1

    Step to Reproduce:
    1. Write the below

    [text]http://www.example.com/
    http://www.example.com/
    http://www.example.com/ [/text]

    2. Preview it

    Actual Results:
    1 http://www.example.com/
    2
    3 http://www.example.com/
    4
    5
    6 http://www.example.com/

    Expected Results:
    1 http://www.example.com/
    2 http://www.example.com/
    3 http://www.example.com/

    Additional Info:
    autolinks doesn't help.

    Thanks,
    Tats

  2. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 3 years ago #

    What an interesting... bug in WordPress. WordPress is actually saying that's what the post content is. If you dump the $post object, it has those double line breaks in it. My plugin is working 100% correctly.

    Not sure what's causing it. Sorry.

  3. Tats Shibata
    Member
    Posted 3 years ago #

    Thank you for the analysis. WordPress always meddles in line break... I'm using Disable WPAUTOP plugin but the issue happens. I'll look for the root cause.

    Thanks,

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic