We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69bfd59 commit d8d7646Copy full SHA for d8d7646
1 file changed
src/util/StringReader.js
@@ -13,7 +13,7 @@ function StringReader(text){
13
* @type String
14
* @private
15
*/
16
- this._input = text.replace(/(\r|\n){1,2}/g, "\n");
+ this._input = text.replace(/(\r\n?|\n)/g, "\n");
17
18
19
/**
0 commit comments