diff options
author | max99x <max99x@gmail.com> | 2011-06-24 00:24:24 +0300 |
---|---|---|
committer | max99x <max99x@gmail.com> | 2011-06-24 00:24:24 +0300 |
commit | d75e5f40b027717d02ea348ef09fe44f7e67d583 (patch) | |
tree | 0ae087521092071e7c31a18be02a5ec10f807ed6 | |
parent | 55c78b085a8157df020bf29dd60d141bb01f236c (diff) |
Undid the newline fix; better to fix it at the root, in fputs().
-rw-r--r-- | demos/python.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/python.html b/demos/python.html index 33b48f16..a31a0450 100644 --- a/demos/python.html +++ b/demos/python.html @@ -44,7 +44,7 @@ function print(text, force) { //force = true; // XXX - for debugging - lines.push(text || '\n'); + lines.push(text); printed = true; if (force) { @@ -72,7 +72,7 @@ } if (printed) { - element.value = lines.join('') + element.value; + element.value = lines.join('\n') + element.value; } else { element.value = '\n(no output)\n-------------\n' + element.value; } |