remove spurious html markup