String comparison issue
Opened this issue · 0 comments
mullim commented
Depending on the EOL sequence the string comparison for isEdited
doesn't work properly. I was forced to use
currentContent.replace(/\r\n/gm, '\n') !== originalContent.replace(/\r\n/gm, '\n')
for the comparison logic