WordPress.org

Ready to get started?Download WordPress

Forums

Crayon Syntax Highlighter
[resolved] Empty line added after lines containing as hash (#) (4 posts)

  1. Martin Herbst
    Member
    Posted 2 years ago #

    If a line in the code contains a hash-symbol then an additional empty line is automatically inserted. This seems to be independent of the selected languagre:
    For example:
    <pre class="decode-attributes:false trim-whitespace:false lang:sh decode:true show_mixed:false">#!/bin/sh
    cd /var/www/vhosts/example.org/htdocs

    Will be shown as
    #!/bin/sh

    cd /var/www/vhosts/example.org/htdocs

    This empty line is not visible in the preview nor in the unformatted view.

    http://wordpress.org/extend/plugins/crayon-syntax-highlighter/

  2. akarmenia
    Member
    Plugin Author

    Posted 2 years ago #

    Could you verify if this has been fixed by 1.9.11? Thanks!

  3. Martin Herbst
    Member
    Posted 2 years ago #

    Yes it is fixed and works now correct. Thanks for the quick solution.

  4. akarmenia
    Member
    Plugin Author

    Posted 2 years ago #

    Great, no problem!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.