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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/html.rb b/lib/coderay/scanners/html.rb
index f37a8dd..cbf8a55 100644
--- a/lib/coderay/scanners/html.rb
+++ b/lib/coderay/scanners/html.rb
@@ -74,7 +74,7 @@ module Scanners
kind = :plain
elsif scan(/#{ENTITY}/ox)
kind = :entity
- elsif scan(/>/)
+ elsif scan(/[>&]/)
kind = :error
else
raise_inspect '[BUG] else-case reached with state %p' % [state], tokens