Remove extraneous markup.