WordPress.org

Ready to get started?Download WordPress

Forums

Crayon Syntax Highlighter
[resolved] display:none - the empty p tag above plugin (11 posts)

  1. mnewmedia
    Member
    Posted 2 years ago #

    Hi, I searched in the files of this Plugin for this empty <p> Tag. That is used to insert the css of the fonts.
    My goal is to hide this empty p tag, but it has no id or class. And i can^t find it in the plugin files.

    Greetins and thanks for the great plugin!

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

  2. akarmenia
    Member
    Plugin Author

    Posted 2 years ago #

    You're right, I became aware of this issue recently and I've decided to fix it now that you made me aware of this space. I knew the <p> tags were being cut short by a <div>, but I didn't realise the browser would try to fix this by closing it.

    http://stackoverflow.com/questions/8950684/regex-detect-text-that-exists-between-p-p

  3. akarmenia
    Member
    Plugin Author

    Posted 2 years ago #

  4. akarmenia
    Member
    Plugin Author

    Posted 2 years ago #

    Any luck?

  5. akarmenia
    Member
    Plugin Author

    Posted 2 years ago #

    I think it was fixed, either way, fixed some more stuff in 1.7.19 :)

  6. mnewmedia
    Member
    Posted 2 years ago #

    Yes it's fixed great!! You are great!!

    But if you can answer the question in the link, you are more then great :P haha

    http://wordpress.stackexchange.com/questions/39957/list-from-the-current-categorie-the-parent-categories-with-posts

  7. akarmenia
    Member
    Plugin Author

    Posted 2 years ago #

    :) good to hear it's working, I also got rid of the <br /> tags

  8. mnewmedia
    Member
    Posted 2 years ago #

    haha thanks for trying to answer :)

    Back to the crayon stuff isn't there a way to insert not with import with <link> insteat?

    http://code.google.com/intl/de-DE/speed/page-speed/docs/rtt.html#AvoidCssImport

  9. akarmenia
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for the suggestion. The reason I had import was because themes can import their own, which must be specified in the theme css, but what I plan on doing now is to remove the theme-default font and set it to Monaco, then to remove these imports and let the use choose whatever font they want. Then, it will enqueue Monaco or whatever other chosen font there is. I'll try to finish this tomorrow.

  10. mnewmedia
    Member
    Posted 2 years ago #

    if i get once with adsense money i gonna donate to you :P

  11. akarmenia
    Member
    Plugin Author

    Posted 2 years ago #

    Cheers, see 1.7.23 for the font changes.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic