Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Commit 42de05f

Browse files
author
mikesamuel@gmail.com
committed
Rewrite newlines using OS specific line break sequence
1 parent 6bf1de6 commit 42de05f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js-modules/recombineTagsAndDecorations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function recombineTagsAndDecorations(job) {
6969
var textNode = spans[spanIndex + 1];
7070
if (textNode.nodeType !== 1) { // Don't muck with <BR>s or <LI>s
7171
var styledText = source.substring(sourceIndex, end);
72-
if (isIE) { styledText = styledText.replace(newLineRe, '\r\n'); }
72+
if (isIE) { styledText = styledText.replace(newlineRe, '\r\n'); }
7373
textNode.nodeValue = styledText;
7474
var document = textNode.ownerDocument;
7575
var span = document.createElement('SPAN');

0 commit comments

Comments
 (0)