PARP1-mediated PARylation of TonEBP prevents R-loop-associated DNA damage.