Clean up HTML when using show command