diff options
author | rautenberg <rautenberg@in-silico.ch> | 2014-11-05 16:44:41 +0100 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2014-11-05 16:44:41 +0100 |
commit | 7963fa05c510b3e503e04ce91d2cb1246e11a9b2 (patch) | |
tree | ca437aa8821e4848b70ee996d7a427eb0fad3a1d | |
parent | ed06e45d0b21987f53875615b055fcd0a1829bd6 (diff) |
add missing opening body tag in to_html method / remove autologin to avoid confusion with configuration errors
-rw-r--r-- | lib/overwrite.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/overwrite.rb b/lib/overwrite.rb index 1c9517d..c96c2d8 100644 --- a/lib/overwrite.rb +++ b/lib/overwrite.rb @@ -54,7 +54,7 @@ class String # TODO add title as parameter title = nil #$sinatra.to($sinatra.request.env['PATH_INFO'], :full) if $sinatra - html = "<html>" + html = "<html><body>" html << "<title>"+title+"</title>" if title #html += "<img src=\""+OT_LOGO+"\"><\/img><body>" |