Light always travels in straight lines. Even when light is experiencing a gravitational lensing and looks to us from earth that it's bending around a star or whatever, from the perspective of the light beam itself, it's moving in a straight line. It's entire reference frame is bent compared to ours (relativity) but nonetheless the correct view is that the light is still moving 'straight' in it's own reference frame.
Also if the light wasn't moving straight that would mean it's changing direction, which is the same as an acceleration, and a beam of light traveling thru a gravitational field feels no acceleration, because it's not accelerating. Again from this view you can say light is moving straight and experiencing no acceleration, just like an object in free-fall doesn't 'feel' any acceleration, even though they are accelerating from the perspective of some other reference frame other than it's own.