simplify HTML representation