WordPress.org

Ready to get started?Download WordPress

Forums

Crayon Syntax Highlighter
[BUG REPORT] WP 3.5 / PHP 5.2 / 000webhost (2 posts)

  1. mAsT3RpEE
    Member
    Posted 10 months ago #

    I've noticed a lot of html5 validation errors this plugin brings about. They are kind of annoying and I was hoping you could update just 2 of them so I don't have to keep editing code.

    1. wp_content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php line 367
      -> changed
      $textwrap = !$hl->setting_val(CrayonSettings::WRAP) ? 'wrap="oFF"' : '';

      -> to

      $textwrap = !$hl->setting_val(CrayonSettings::WRAP) ? 'wrap="soft"' : 'wrap="hard"';
    2. TinyMCe is still using named anchors. New specification says that id attribute should be used instead of name.
      <h2><a name="xxx"></a>Heading</h2>

      Should be changed to

      <h2 id="xxx">Heading</h2>

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

  2. mAsT3RpEE
    Member
    Posted 9 months ago #

    Oops sorry forget the second. It was meant for tinyMCE advanced plugin. I guess I was sleepy. Just point 1 thank you.

Reply

You must log in to post.

About this Plugin

About this Topic