WordPress.org

Ready to get started?Download WordPress

Forums

Crayon Syntax Highlighter
bug with wp-markdown plugin (2 posts)

  1. JongEun
    Member
    Posted 1 year ago #

    http://wordpress.org/extend/plugins/wp-markdown/

    wp-markdown plugin make a code block as

    <pre><code> .... </code></pre>

    crayon display <code>,</code> html code!

    check this capture.
    http://cl.ly/image/183l19303r3P

    How can i fix this?
    Thanks.

    Jongeun.

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

  2. JongEun
    Member
    Posted 1 year ago #

    Sorry for 3 duplicated post.

    I fixed my self, just enabled below line on crayon_remove_ignore function.
    $the_content = preg_replace('#(^\s*<\s*code[^>]*>)|(<\s*/\s*code[^>]*>\s*$)#msi', '', $the_content);

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags