aboutsummaryrefslogtreecommitdiff
path: root/help.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-12-09 22:57:08 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-12-09 22:57:08 +0100
commitce941b3a686fd4bec12377d8d303ad9995f32705 (patch)
tree90fcf0cd1aad24f352b4a8f67972bcb89c1aa3bc /help.rb
parent0e53012e5c656f2a54e8550a7a43e7908862a289 (diff)
include title in mail link
Diffstat (limited to '')
-rwxr-xr-xhelp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/help.rb b/help.rb
index 7935aea..f553dbb 100755
--- a/help.rb
+++ b/help.rb
@@ -28,7 +28,7 @@ $d = Dudle.new("Help")
$d << <<END
The link to your poll is:
<pre>#{SITEURL}</pre>
-<a href='mailto:?subject=dudle%20link&amp;body=#{SITEURL}'>Send this link via email...</a>
+<a href='mailto:?subject=link%20to%20dudle%20poll%20about%20#{CGI.escapeHTML(CGI.escape($d.title).gsub("+","%20"))}&amp;body=#{SITEURL}'>Send this link via email...</a>
<form method='get' action='.'>
<div>
<input type='submit' value='To the Vote interface' />