Fix preprocessing bug when processing \n