HtmlParsingError

Version 0.10.2+

This check reports HTML errors that prevent a file from being analyzed.

The HTML parser limits the number of attributes per element to 400, and the maximum depth of the DOM tree to 400 levels. If any one of those limits is reached, parsing stops, and all HTML offenses on this file are ignored.

Examples

The following examples contain code snippets that either fail or pass this check.

✗ Fail

✓ Pass

Disabling this check

It's safe to disable this rule.