renamed do_hard_breaks to do_line_breaks