handle all line break types