some html cleaning in order to pass throw validators