It was a well-deserved victory for the home side who dominated throughout and were once again roared on by a vociferous John Smith's Stadium crowd.
However, Town struggled to see off their Lancashire rivals and with the game all square in stoppage time, it looked as though the Blue White Army would have to settle for a point.
Then, with minutes remaining, referee Lee Probert awarded a penalty for the home side for an off-the-ball incident and a foul on Elias Kachunga from PNE's Jordan Hugill.
Aaron Mooy's spot-kick was saved but German forward Quaner was quickest to stroke the rebound home and send supporters into raptures.
Were you at yesterday's game? Scroll through the gallery above and see if you have been snapped by our photographer.