adding linebreak functionality to formatter