Cleanup HTML outline