general html code cleansing