Don't break everything

This commit is contained in:
Dan Stillman 2012-01-04 14:39:51 -05:00
parent 9b133c40aa
commit 080b3cad87

View File

@ -3748,7 +3748,7 @@ Zotero.Item.prototype.diff = function (item, includeMatches, ignoreFields) {
var otherNote = otherData.note; var otherNote = otherData.note;
// Stop non-Unix newlines from triggering erroneous conflicts // Stop non-Unix newlines from triggering erroneous conflicts
thisNote = thisNote.replace(/(\r\n?/g, "\n"); thisNote = thisNote.replace(/\r\n?/g, "\n");
otherNote = otherNote.replace(/\r\n?/g, "\n"); otherNote = otherNote.replace(/\r\n?/g, "\n");
// Normalize multiple spaces (due to differences TinyMCE, Z.U.text2html(), // Normalize multiple spaces (due to differences TinyMCE, Z.U.text2html(),