I enter the following in the HTML box of a stack snippet:
<div>
<select>
<option></option>
</select>
</div>
Then I click Tidy
, and the result is:
<div>
<select>
<option></option>
</select>
</div>
It fixed the indentation of <select>
and </div>
, but <option></option>
and </select>
are not correct.
<select>
from the list of elements that get formatted. The good news is that list is configurable.