aboutsummaryrefslogtreecommitdiff
path: root/html.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-11-23 11:27:30 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-11-23 11:27:30 +0100
commit76e04d2563b4d98e8169410bdfd542e548e4cf0d (patch)
treeb9af3056be797e48549075d6df94c6037b239880 /html.rb
parent70f5ca9ecca597022bcdee9ae61085c3fb6cc0fd (diff)
make output better formated
Diffstat (limited to 'html.rb')
-rw-r--r--html.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.rb b/html.rb
index 04dd5b6..ae44d17 100644
--- a/html.rb
+++ b/html.rb
@@ -63,7 +63,7 @@ HEAD
@header["cookie"] = c
end
def << (bodycontent)
- @body += bodycontent
+ @body += bodycontent.chomp + "\n"
end
def out(cgi)
cgi.out(@header){