Conform insertVisualBreak() to browser behavior
Implement inserting of line breaks