Change pre to code type.