Support » Plugin: Crayon Syntax Highlighter » [BUG REPORT] WP 3.5 / PHP 5.2 / 000webhost

  • 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/

Viewing 1 replies (of 1 total)
  • Thread Starter mAsT3RpEE

    (@mast3rpee)

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

Viewing 1 replies (of 1 total)
  • The topic ‘[BUG REPORT] WP 3.5 / PHP 5.2 / 000webhost’ is closed to new replies.