Clean the markup.