Skip to content
Commits on Oct 17, 2011
  1. @rmontgomery429

    Fixing has_content?

    rmontgomery429 committed
    * moved the gsub and strip into a function named normalize_whitespace
    * added the call to has_no_content?
  2. @rmontgomery429

    Fixed has_content?

    rmontgomery429 committed
    * use regex 'any one or more whitespace character' instead of simply removing all newline characters as suggested by @jnicklas and @joliss [#521]
Commits on Oct 14, 2011
  1. @rmontgomery429

    Fixed has_content?

    rmontgomery429 committed
    * has_content? should ignore any whitespace in the content being compared (the matcher text) so that comparing whitespace sensitive text i.e. content in a <pre> tag will be matched properly.
Something went wrong with that request. Please try again.