Stripped out the tags and makes the list of tags match up with the list of headers.