# File lib/maruku/input/parse_span.rb, line 495
  def read_inline_html(src, con)
    h = HTMLHelper.new
    begin
      # This is our current buffer in the context
      next_stuff = src.current_remaining_buffer

      consumed = 0
      while true
        if consumed >= next_stuff.size
          maruku_error "Malformed HTML starting at #{next_stuff.inspect}", src, con
          break
        end

        h.eat_this next_stuff[consumed].chr
        consumed += 1
        break if h.is_finished?
      end
      src.ignore_chars(consumed)
      con.push_element md_html(h.stuff_you_read)
    rescue => e
      maruku_error "Bad html: \n" +
        e.inspect.gsub(/^/, '>'), src, con, "I will try to continue after bad HTML."
      con.push_char src.shift_char
    end
  end