Tunisia became one of the largest sources of foreign fighters for the Islamic State—even though the country stands out as a democratic bright spot of the Arab uprisings and despite …