summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/html.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay/scanners/html.rb')
-rw-r--r--lib/coderay/scanners/html.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/coderay/scanners/html.rb b/lib/coderay/scanners/html.rb
index 2f57e44..206ace0 100644
--- a/lib/coderay/scanners/html.rb
+++ b/lib/coderay/scanners/html.rb
@@ -32,7 +32,7 @@ module Scanners
onvolumechange onwaiting
)
- IN_ATTRIBUTE = CaseIgnoringWordList.new(nil).
+ IN_ATTRIBUTE = WordList::CaseIgnoring.new(nil).
add(EVENT_ATTRIBUTES, :script)
ATTR_NAME = /[\w.:-]+/ # :nodoc:
@@ -58,8 +58,7 @@ module Scanners
'"' => /[^&">\n]+/,
} # :nodoc:
- def reset # :nodoc:
- # FIXME: why not overwrite reset_instance?
+ def reset_instance # :nodoc:
super
@state = :initial
end