《新五代史·列传·杂传第四十三》
当时右散骑常侍张文宝管理贡举，发榜考中的进士，有的被中书省审察落选，于是请求下令学士院作诗赋作为贡举用的范文，学士窦梦征、张砺等人作的诗赋不好，于是让李怿作，李悍笑着说： 我年轻时考中进士，不过是出自偶然而已。
时右散骑常侍张文宝知贡举，所放进士，中书有覆落者，乃请下学士院作诗赋为贡举格，学士窦梦徵、张砺等所作不工，乃命怿为之，怿笑曰： 年少举进士登科，盖偶然尔。
At that time, Zhang Wenbao, the Right Imperial Attendant, was in charge of the imperial examinations. After the list of successful candidates was released, some were rejected on review by the Department of Zhongshu. They therefore asked the Ministry of Education to issue poems and prose as model texts for the imperial examinations. The poems and prose written by scholars Dou Mengzheng, Zhang Li, and others were not good, so they asked Li Yi to write them. Li Yi smiled and said, "When I passed the imperial examinations when I was young, it was just a coincidence.