Fix data of plain text resources