summaryrefslogtreecommitdiff
path: root/lib/coderay/helpers/plugin.rb
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-07-20 18:12:04 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-07-20 18:12:04 +0200
commit5c23a731ca55729fc65630eca3b37a5b1a71e5b1 (patch)
tree97045ac6fa9544a1e0f168b9a02c7b53b0c4e452 /lib/coderay/helpers/plugin.rb
parent59ca07b0d1a1710ab729636ea00de4b638f56110 (diff)
downloadcoderay-5c23a731ca55729fc65630eca3b37a5b1a71e5b1.tar.gz
mark possibly problematic spots with FIXME
Diffstat (limited to 'lib/coderay/helpers/plugin.rb')
-rw-r--r--lib/coderay/helpers/plugin.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/coderay/helpers/plugin.rb b/lib/coderay/helpers/plugin.rb
index d14c5a9..3a38bfd 100644
--- a/lib/coderay/helpers/plugin.rb
+++ b/lib/coderay/helpers/plugin.rb
@@ -207,6 +207,7 @@ module CodeRay
id
elsif id.is_a? String
if id[/\w+/] == id
+ # FIXME: cache attack
id.downcase.to_sym
else
raise ArgumentError, "Invalid id given: #{id}"