allowing extra whitespace at the end of tags - fixes #653