# File lib/html5/tokenizer.rb, line 64 def process_solidus_in_tag # We need to consume another character to make sure it's a ">" data = @stream.char if @current_token[:type] == :StartTag and data == ">" @current_token[:type] = :EmptyTag else @token_queue << {:type => :ParseError, :data => "incorrectly-placed-solidus"} end # The character we just consumed need to be put back on the stack so it # doesn't get lost... @stream.unget(data) end