Report errors preventing the HTML from being parsed and analyzed by Theme Check.
This check is aimed at reporting 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 of incorrect code for this check:
<img src="muffin.jpeg"
data-attrbute-1=""
data-attrbute-2=""
... up to
data-attrbute-400="">
👍 Examples of correct code for this check:
<img src="muffin.jpeg">
The default configuration for this check is the following:
HtmlParsingError:
enabled: true
If you don't care about HTML offenses.
This check has been introduced in Theme Check 0.10.2.