Excitation of the solar flare far-ultraviolet continuum by line irradiation