issue#479 - replace linebreaks with commas