Skip to content

v0.4.0

Compare
Choose a tag to compare
@wjdp wjdp released this 26 Jan 17:46
· 250 commits to master since this release
f25ead8

New Features

  • Implemented DOCTYPE checking. We check if a doctype is present and in the right place, at the very top. We fail the document if one cannot be found. An option CheckDoctype can be used to enable/disable this behaviour. It is enabled by default.
  • Optionally require the DOCTYPE matches the HTML5 spec, set EnforceHTML5 to enable this.
  • Allow both file and directory as <path> in command. We pass these as either a DirectoryPath or FilePath option internally.

Minor Enhancements

  • When testing a directory we report the number of files tested after a pass or fail.

Changes

  • ⚠️ Three options have been renamed, if you use them this is a breaking change. See the table below.
Old New
ProgDir OutputDir
LogFile OutputLogFile
CacheFile OutputCacheFile