diff options
Diffstat (limited to 'lib/coderay/scanners/html.rb')
-rw-r--r-- | lib/coderay/scanners/html.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/coderay/scanners/html.rb b/lib/coderay/scanners/html.rb index 186a255..f37a8dd 100644 --- a/lib/coderay/scanners/html.rb +++ b/lib/coderay/scanners/html.rb @@ -130,9 +130,9 @@ module Scanners next
elsif scan(/#{ENTITY}/ox)
kind = :entity
- elsif match(/[\n>]/)
+ elsif scan(/[\n>]/)
tokens << [:close, :string]
- kind = error
+ kind = :error
state = :initial
end
|