correct mistake: tag must match exactly
spaces can come with html tags
match several tags at once to take into account cases such as </p><p>