Jannik Hansen's goal out of penalty box helps Canucks snap road skid with 3-1 win over Sharks

Vancouver Canucks right wing Jannik Hansen (36), of Denmark, celebrates after scoring a goal past San Jose Sharks goalie Alex Stalock (32) during the second period of an NHL hockey game Tuesday, Dec. 30, 2014, in San Jose, Calif. (AP Photo/Tony Avelar) (The Associated Press)

Vancouver Canucks right wing Radim Vrbata (17), from the Czech Republic, celebrates with Vancouver Canucks left wing Daniel Sedin (22), of Sweden, after scoring a goal against San Jose Sharks during the second period of an NHL hockey game Tuesday, Dec. 30, 2014, in San Jose, Calif. (AP Photo/Tony Avelar) (The Associated Press)

Jannik Hansen scored in the second period, immediately after leaving the penalty box for an illegal hit to the head, and the Vancouver Canucks snapped a four-game road losing streak by beating the San Jose Sharks 3-1 on Tuesday night.

Bo Horvat and Radim Vrbata also scored for the Canucks, who have won their last three games in San Jose. Ryan Miller stopped one of two penalty shots he faced and made 31 saves in all to beat the Sharks for the seventh straight time.

Joe Thornton converted his penalty shot, and Joe Pavelski missed for the Sharks, who had two penalty shots for just the second time in franchise history. Alex Stalock made 18 saves as San Jose lost its third straight.