fix an issue with a tag that has a space before the >