Skip to content
This repository has been archived by the owner. It is now read-only.
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
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
You can’t perform that action at this time.