fix html code for display/theme