WordPress.org

Forums

Crayon Syntax Highlighter
Bad value off for attribute wrap on element textarea. (3 posts)

  1. christopherdubeau
    Member
    Posted 1 year ago #

    Wc3 reports this

    Bad value off for attribute wrap on element textarea.
    
    …size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;">

    Wanted to let you know.

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

  2. christopherdubeau
    Member
    Posted 1 year ago #

    I think may have fixed the issue: change the wrap="off" to wrap="soft" in the crayon_formatter.class file.

    Seems to work with ie, firefox, safari and chrome.

  3. sparky672
    Member
    Posted 1 year ago #

    I'd love it if the developer could respond to this thread. Technically, the only allowed values for the wrap attribute are hard or soft.

    What exactly is the cross browser issue with this? Specifically, which browser versions is this supposed to be an issue?

    Generally speaking, compliant code is much more likely to work in all browsers than non-compliant code. My vote is to error on the side of the compliant code.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Crayon Syntax Highlighter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.