summaryrefslogtreecommitdiff
path: root/lib/to-html.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/to-html.rb')
-rwxr-xr-xlib/to-html.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/to-html.rb b/lib/to-html.rb
index 1bc1496..e9764ef 100755
--- a/lib/to-html.rb
+++ b/lib/to-html.rb
@@ -27,7 +27,8 @@ module OpenTox
# @return [String] html page
def self.text_to_html( text, related_links=nil, description=nil, post_params=nil )
- title = $sinatra.url_for($sinatra.request.env['PATH_INFO'], :full) if $sinatra
+ # TODO add title as parameter
+ title = nil #$sinatra.url_for($sinatra.request.env['PATH_INFO'], :full) if $sinatra
html = <<EOF
<html>