no-surrounding-whitespace
Disallow extra spacing just after a tag is opened and just before a tag is closed.
The following patterns are considered violations
<h1> Lorem ipsum</h1>
<h1>Lorem ipsum </h1>
<h1> Lorem ipsum </h1>
<p> <strong>Lorem</strong> ipsum</p>
<p> <!-- comment --><strong>Lorem</strong> ipsum</p>
<div> </div>
The following patterns are not considered violations
<h1>Lorem ipsum</h1>
<p><strong>Lorem</strong> ipsum</p>
<p><!-- comment --><strong>Lorem</strong> ipsum</p>
<p>Lorem <strong>ipsum</strong></p>
<div>
<p>Lorem ipsum dolor sit amet...</p>
</div>
<div>
<p>
Lorem ipsum dolor sit amet...
</p>
</div>
<div>
<p>
<!-- comment -->
Lorem ipsum dolor sit amet...
<!-- comment -->
</p>
</div>
<div></div>