diff --git a/src/helma/framework/ResponseBean.java b/src/helma/framework/ResponseBean.java
index d481a3d6..553d9594 100644
--- a/src/helma/framework/ResponseBean.java
+++ b/src/helma/framework/ResponseBean.java
@@ -178,7 +178,7 @@ public class ResponseBean implements Serializable {
}
/**
- * Write a string to the response buffer followed by an XHTML br tag.
+ * Write string to response buffer and append a platform dependent newline sequence.
*
* @param str the string to write to the response buffer
*/
diff --git a/src/helma/framework/ResponseTrans.java b/src/helma/framework/ResponseTrans.java
index 11b9367c..8691c3e6 100644
--- a/src/helma/framework/ResponseTrans.java
+++ b/src/helma/framework/ResponseTrans.java
@@ -285,7 +285,7 @@ public final class ResponseTrans implements Serializable {
}
/**
- * Utility function that appends a
to whatever is written.
+ * Write object to response buffer and append a platform dependent newline sequence.
*/
public synchronized void writeln(Object what) {
write(what);
@@ -295,11 +295,6 @@ public final class ResponseTrans implements Serializable {
buffer = new StringBuffer(INITIAL_BUFFER_SIZE);
}
- // only append
tag if we know this is an HTML/XHTML document.
- // even then should we use
for HTML 4.0 and below. Well well well...
- if ("text/html".equals(contentType) || "application/xhtml+xml".equals(contentType)) {
- buffer.append("
");
- }
buffer.append(newLine);
}