cleaning up html markup