WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. mAsT3RpEE
    Member
    Posted 1 year 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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic