aboutsummaryrefslogtreecommitdiff
path: root/poll.rb
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--poll.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/poll.rb b/poll.rb
index 95e7e29..760e2c7 100644
--- a/poll.rb
+++ b/poll.rb
@@ -26,7 +26,7 @@ require "timepollhead"
$KCODE = "u"
class String
def to_htmlID
- CGI.escapeHTML(self.gsub(/[^A-Z^a-z^0-9^\-^_^:^\.]/,"."))
+ CGI.escapeHTML(self.gsub(/[^A-Za-z0-9_:.\-]/,"."))
end
end
class Poll