ignore linefeeds in repr comparisons