Hide unused asterisks.
Reopen formatting elements and discard empty elements.