In the HTML pane,
right-click anywhere on the page.
Select
Apply XML formatting rules.
Important If you apply
XML formatting to a document formatted to exclude selected
ending tags (for example, the </P> tag), those tags will
likely be applied by this feature.