WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. christopherdubeau
    Member
    Posted 8 months 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 8 months 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 6 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.