Not true. On the tv show they experimented with various ways to cause gasoline to explode. Including simple matches, cigarettes and even a propane torch. They found gas requires a temperature of 800 degrees to ignite. A cigarette only produces 600 degrees.
The reason gas "explodes" in an internal combustion engine is due to the fact that the gas is vaporized and compressed. In reality, it still doesn't explode, it is the spark from the spark plug which causes it to explode.
If gasoline were that easy to explode, you would not have it in your car.
Diesel, OTOH, does explode on it's own when properly compressed, thus, no spark plug is required.
In either case, it is not the fuel itself that igntes, but rather, the vapors of. As there is now a higher concentration of oxygen to the fuel.
I'm sure you've seen plenty of videos of various types where fuel is on the surface of the water and burning brightly? So how come it never explodes?