html-validate
Advanced tools
Changelog
0.13.0 (2018-10-21)
deprecated
supports adding a message for custom elements.element-permitted-order
now reports the error where the malplaced element is
instead of the parent element (which holds the restriction). Fixes #10.Changelog
0.12.0 (2018-10-17)
Changelog
0.11.1 (2018-10-07)
no-implicit-close
now provides more context when closed by a sibling.close-order
no longer reports error for implicitly closed elements.Changelog
0.11.0 (2018-09-23)
disable
has been renamed to
off
. The old name will continue to work but will be removed in the future.Attribute
used by DOMNode
. Attributes now holds the location
they are created from making DOM attribute rules more precise.heading-level
for validating sequential heading levels.element-permitted-occurrences
no longer triggers for the first occurrence,
only subsequent usages.Table.getMetaFor(..)
is not case-insensitive.Changelog
0.10.0 (2018-08-11)
Engine
class for easier programmatical usage.Changelog
0.9.2 (2018-07-12)
no-inline-style
to htmlvalidate:recommended
.htmlvalidate:document
for predefined set of document-related rules,
e.g. recommended for documents but not component templates.missing-doctype
rule to require doctype.doctype
property to DOMTree
.doctype
event, emitted when a doctype is encountered.element-case
rule for validating case of element names.attr-case
rule for validating case of attributes.Changelog
0.9.0 (2018-06-17)
require
changed from require('html-validate')
to
require('html-validate').HtmlValidate
to support exposing other classes.TemplateExtractor
helper class for extracting templates from javascript
sources.valid
now only checks for errors, the result will still be valid if
only warnings are present.Changelog
0.8.3 (2018-06-12)
getFormatter
as a reusable function to load formatters from string
(like CLI tool): name[=DST][,name=DST...]