html should return undefined instead of null when no html is found.