add: val = val.replace(/(\r\n)|\n/g, "\r\n"); if (oldVal) oldVal = oldVal.replace(/(\r\n)|\n/g, "\r\n"); 
context: function diffProperty(newItem, oldItem, propName) {    var val = newItem.getProperty(propName);    var oldVal = (oldItem ? oldItem.getProperty(propName) : null);    if (val === null) {        // force being set when - no old item, eg when adding new item        //                      - property is to be deleted        if (!oldItem || oldVal)            val = "";    }    else {        if (val == oldVal)            val = null;    }    return val;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/351ec375bde96ab923d706ecf0f09daad2d73748/calWcapCalendarItems.js/buggy/calendar/providers/wcap/calWcapCalendarItems.js