UNPKG

ace-diff

Version:

A diff/merging wrapper for Ace Editor built on google-diff-match-patch

5 lines (4 loc) 132 B
module.exports = function normalizeContent(value = '') { const normalized = value.replace(/\r\n/g, '\n'); return normalized; };