No description, website, or topics provided.
Ruby Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
schemas
scripts
test
Gemfile
Gemfile.lock
README.md
Rakefile
html-validator.gemspec

README.md

Assertions to validate a local html document without using external services like http://validator.w3.org/

It currently validates HTML 5 and XHTML 1.0 transitional.

Example:

def test_validation
    require 'open-uri'
    page = open('http://en.wikipedia.org/wiki/Main_Page').read
    assert_is_xhtml_trans_valid page
end