diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2011-04-19 17:58:40 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2011-04-19 17:58:40 +0200 |
commit | cdeb2cfa81147b8e0f641dd84499ac4e232510ca (patch) | |
tree | adaa6e86aebd4a2e8236cd0524ddaf229de6d711 /poll.rb | |
parent | 701a904936c0bf6e495c070bd887ca261a95d0aa (diff) |
do not allow . in hmtlid
Diffstat (limited to 'poll.rb')
-rw-r--r-- | poll.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ class String if @@htmlidcache[self] id = @@htmlidcache[self] else - id = self.gsub(/[^A-Za-z0-9_:.\-]/,".") + id = self.gsub(/[^A-Za-z0-9_\-]/,"_") if @@htmlidncache[id] @@htmlidncache[id] += 1 id += @@htmlidncache[id].to_s |