Remove redundant HTML for screenshots