Auto-tidy HTML selection.