FA Cup match report: Tottenham Hotspur 2-2 Leicester City
Harry Kane came off the bench to salvage a replay for Spurs with minutes remaining in a thrilling FA Cup tie at White Hart Lane.
Leicester had recovered from one goal down and seemed destined to knock Mauricio Pochettino's side out of the tournament until Nathan Dyer handled in the penalty area late on.
Christian Eriksen capitalised on a poor clearance from Schmeichel to coolly slot Spurs in front inside eight minutes, but Leicester were level just ten minutes later.
Debutant Demarai Gray, signed from Birmingham City during the week, whipped in a teasing corner that unmarked Marcin Wasilewski headed past Michel Vorm.
Ranieri sent on summer signing Shinji Okazaki for Ngolo Kante at the interval, and it took the Japanese international two minutes to register what looked like the winning goal until Kane's late spot-kick.
Tottenham opened the scoring with their first meaningful attack of the game as Josh Onomah fed the onrushing Nacer Chadli, whose shot took a deflection and was punched away by Foxes goalkeeper Schmeichel.
Unfortunately for the Denmark international, the ball landed straight at the feet of Eriksen and he made no mistake in guidng the ball back past his compatriot and into the bottom corner.
The hosts then enjoyed a spell of dominance but, other than an Eriksen free-kick hit straight at Schmeichel, they did not fashion another chance.
Wasilewski was booked for a foul on Danny Rose which led to that Eriksen set-piece but the Poland defender, playing just his fifth game of the campaign, headed Leicester level as he lost Toby Alderweireld to power Demarai Gray's corner past Michel Vorm.
The fact Wasilewski's header was the first touch by a Leicester player in the Tottenham penalty area told the story of the opening half an hour and there was little in the way of the chances as the first half petered out well before referee Bobby Madley blew the half-time whistle.
Ranieri decided to introduce Okazaki at the break to give his side more attacking options and his decision was vindicated a little over two minutes later.
The Japan international collected the ball and eased through a couple of Tottenham challenges before hitting a shot straight at Vorm, only for the rebound to fall to him to slot away his fourth of the season.
Pochettino decided to call upon Nabil Bentaleb and top goalscorer Kane with time evaporating and it was the former who stung the palms of Schmeichel with a rasping effort with just five minutes remaining.
But it was England stiker Kane who levelled from the penalty spot after Dyer was ajudged to have handled the ball as Rose looked to break into the box.