Deletes unneeded closing wrapper tag.