html-proofer-3.14.1/0000755000004100000410000000000013565061130014246 5ustar www-datawww-datahtml-proofer-3.14.1/bin/0000755000004100000410000000000013565061130015016 5ustar www-datawww-datahtml-proofer-3.14.1/bin/htmlproofer0000755000004100000410000001651113565061130017311 0ustar www-datawww-data#!/usr/bin/env ruby # frozen_string_literal: true STDOUT.sync = true $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib') require 'html-proofer' require 'mercenary' Mercenary.program(:htmlproofer) do |p| p.version HTMLProofer::VERSION p.description %(Test your rendered HTML files to make sure they're accurate.) p.syntax 'htmlproofer PATH [options]' p.description 'Runs the HTML-Proofer suite on the files in PATH. For more details, see the README.' p.option 'allow_missing_href', '--allow-missing-href', 'If `true`, does not flag `a` tags missing `href` (this is the default for HTML5).' p.option 'allow_hash_href', '--allow-hash-href', 'If `true`, ignores the `href="#"`' p.option 'as_links', '--as-links', 'Assumes that `PATH` is a comma-separated array of links to check.' p.option 'alt_ignore', '--alt-ignore image1,[image2,...]', Array, 'A comma-separated list of Strings or RegExps containing `img`s whose missing `alt` tags are safe to ignore' p.option 'assume_extension', '--assume-extension', 'Automatically add extension (e.g. `.html`) to file paths, to allow extensionless URLs (as supported by Jekyll 3 and GitHub Pages) (default: `false`).' p.option 'checks_to_ignore', '--checks-to-ignore check1,[check2,...]', Array, ' An array of Strings indicating which checks you\'d like to not perform.' p.option 'check_external_hash', '--check-external-hash', 'Checks whether external hashes exist (even if the webpage exists). This slows the checker down (default: `false`).' p.option 'check_favicon', '--check-favicon', 'Enables the favicon checker (default: `false`).' p.option 'check_html', '--check-html', 'Enables HTML validation errors from Nokogiri (default: `false`).' p.option 'check_img_http', '--check-img-http', 'Fails an image if it\'s marked as `http` (default: `false`).' p.option 'check_opengraph', '--check-opengraph', 'Enables the Open Graph checker (default: `false`).' p.option 'check_sri', '--check-sri', 'Check that `` and `