Dennis Snell: HTML API: Check for unclosed attributes.
Today someone was discussing the goal of linting HTML, specifically of detecting unclosed attributes. Consider the following snippet: <p class="important><img src="alert.png">This is important!</p> It’s clear that a mistake led to a missing double-quote on the class attribute of the opening <p> tag. While WordPress’ HTML API doesn’t directly report this (because “unclosed attribute” isn’t particularly…