% cleanup the markup