add sanitizeBreakLines method