xmltools icon indicating copy to clipboard operation
xmltools copied to clipboard

Enchantment in "Pretty Print" for html

Open samsam4 opened this issue 3 years ago • 0 comments

Is it possible to make "Pretty print" to format properly and standard html code? Because after all the tags that by spec don't require closing tag follow mess:

<td><input type="checkbox" value="cb1" class="ckbx"></td>

After XML Pretty Print:

<td>
         <input type="checkbox" value="cb1" class="ckbx"/>

<td><input type="checkbox" value="cb1" class="ckbx"></td>
<td><img class="cimg1" src="a90.jpg" onerror="this.src='noimage.jpg'"></td>

Result:

<td>
	<input type="checkbox" value="cb1" class="ckbx"/>
	<td>
		<img class="cimg1" src="a90.jpg" onerror="this.src='noimage.jpg'"/>

Thanks

samsam4 avatar May 05 '22 23:05 samsam4