WordPress.org

Ready to get started?Download WordPress

Forums

Crayon Syntax Highlighter
[resolved] This Plugin Breaks the more tag (9 posts)

  1. jeremy.iglehart
    Member
    Posted 2 years ago #

    Much to my dismay I found that your plugin breaks the <!--more--> tag. After I deactivated the plug the more tag works just fine - Please fix this! I really want to use your plugin because other than that your plugin works great!

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

  2. akarmenia
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for your support, and for finding this bug. Could you please attach the snippet of code/post content where the issue is occurring so I can debug it on my end?

  3. akarmenia
    Member
    Plugin Author

    Posted 2 years ago #

    Fixed in v1.2.3. The Crayons are now removed before the excerpt is generated to avoid showing the shortcode along with the post text. Also, <!--more--> correctly breaks the post content as usual.

  4. Cristian Nistor
    Member
    Posted 2 years ago #

    Hi there.

    You did a good job with this Syntax Highlighter, I am using it on my WP blog.

    Also I found an issue regarding one of WP short tag. Assuming that I have a long text page with different code languages highlighted, when I use the <!--nextpage--> short tag, the crayon content will carry the content of the first one. More precisely, if I have ten crayons on the page, and if I use <!--nextpage--> short tag after the 5th one, the 6th crayon will have the content of the first one, the 7th will have the content of the 2nd and so on.

    More <!--nextpage--> short tag, more resets for the crayon.

    I hope this help you to find out and fix this error.

    regards,
    Cristian Nistor

  5. akarmenia
    Member
    Plugin Author

    Posted 2 years ago #

    Hey, it's fixed in 1.4.2. I had to change quite a lot of logic, but it works much better because of it. Cheers!

  6. akarmenia
    Member
    Plugin Author

    Posted 2 years ago #

    I don't think I'll have time to make any updates to Crayon until a month later (exams), but I hope this version is solid and holds up well.

  7. Cristian Nistor
    Member
    Posted 2 years ago #

    Hi akarmenia.

    I have version 1.4.1 installed (from wp.org repository). Right now it seems that your site is down. Well, I can wait until is up again or the last version will be available on wp.org :).

    Cheers and good luck with your exams ;).

  8. Cristian Nistor
    Member
    Posted 2 years ago #

    OK, I made the update and everything seems to work well.

    Thank you again.

  9. akarmenia
    Member
    Plugin Author

    Posted 2 years ago #

    No probs :) and thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic