add: sRTFText += desc.replace(/\n/g, "\\par\n"); 
context: function eventArrayToRTF( calendarEventArray ){   sRTFHeader =       "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fswiss\\fcharset0 Arial;}{\\f1\\fmodern\\fcharset0 Courier New;}}" +      "{\\colortbl ;\\red0\\green0\\blue0;}" +      "\\viewkind4\\uc1\\pard\\fi-1800\\li1800\\tx1800\\cf1";   sRTFFooter =      "\\pard\\fi-1800\\li1800\\tx1800\\cf1\\f0\\par}";   var sRTFText = sRTFHeader;   for( var eventArrayIndex = 0;  eventArrayIndex < calendarEventArray.length; ++eventArrayIndex )   {      var calendarEvent = calendarEventArray[ eventArrayIndex ];      sRTFText += "\\b\\f0\\fs20 " + gCalendarBundle.getString( "eventTitle" ) + "\\b0\\tab " + calendarEvent.title + "\\par\n";      sRTFText += "\\b\\f0\\fs20 " + gCalendarBundle.getString( "eventDescription" ) + "\\b0\\tab " + calendarEvent.description + "\\par\n";      sRTFText += "\\b When:\\b0\\tab " + formatDateTimeInterval(calendarEvent.start, calendarEvent.end) + "\\par\n";      sRTFText += "\\b Where:\\b0\\tab " + calendarEvent.location + "\\par\n";      sRTFText += "\\par\n";   }   sRTFText += sRTFFooter;   return sRTFText;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/2d1d3abba69d52d5e91ba3747e24e765007a2cd9/importExport.js/clean/calendar/resources/content/importExport.js