Show More
@@ -195,7 +195,8 b' IPython.utils = (function (IPython) {' | |||
|
195 | 195 | tmp = txt; |
|
196 | 196 | do { |
|
197 | 197 | txt = tmp; |
|
198 |
tmp = txt.replace(/ |
|
|
198 | tmp = txt.replace(/\r+\n/gm, '\n'); // \r followed by \n --> newline | |
|
199 | tmp = tmp.replace(/^.*\r+/gm, ''); // Other \r --> clear line | |
|
199 | 200 | } while (tmp.length < txt.length); |
|
200 | 201 | return txt; |
|
201 | 202 | } |
General Comments 0
You need to be logged in to leave comments.
Login now