Implement inserting of line breaks