From d75e5f40b027717d02ea348ef09fe44f7e67d583 Mon Sep 17 00:00:00 2001 From: max99x Date: Fri, 24 Jun 2011 00:24:24 +0300 Subject: Undid the newline fix; better to fix it at the root, in fputs(). --- demos/python.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/python.html') 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; } -- cgit v1.2.3-70-g09d2