Closed GoogleCodeExporter closed 9 years ago
a small change (in docs.js) may be enough :
App.processCode = function processCode(code, div) {
var lines = code.replace(/\r\n/g,'\n').split('\n');
...
Original comment by Denis.Bo...@imag.fr
on 13 Feb 2009 at 11:28
for windows files + mac files (but I do not have mac-os file, so ...)
the change could be :
App.processCode = function processCode(code, div) {
var lines = code.replace(/\r\n/g,'\n').replace(/\r/g,'\n').split('\n');
...
(but I do not have mac-os file, so think twice, test it ...)
Original comment by Denis.Bo...@imag.fr
on 13 Feb 2009 at 11:36
Fixed by revision 20. Thanks to Denis Bouhineau for the patch. Tested with CR,
CR/LF
and LF line end chars on IE7 and FF 3.0.
Original comment by albertos...@gmail.com
on 13 Feb 2009 at 12:20
Original comment by albertos...@gmail.com
on 13 Feb 2009 at 12:21
Original issue reported on code.google.com by
Denis.Bo...@imag.fr
on 13 Feb 2009 at 10:43