code: def FormatType(self, level_name, class_problist):
      
      class_problist.sort()
      output = []
      for classname, problist in class_problist:
        output.append('<h4 class="issueHeader"><a name="%s%s">%s</a></h4><ul>\n' %
                      (level_name, classname, UnCamelCase(classname)))
        for e in problist.problems:
          self.FormatException(e, output)
        if problist.dropped_count:
          output.append('<li>and %d more of this type.' %
                        (problist.dropped_count))
        output.append('</ul>\n')
      return ''.join(output)
docs: Write the HTML dumping all problems of one type.
  
      Args:
        level_name: string such as "Error" or "Warning"
        class_problist: sequence of tuples (class name,
            BoundedProblemList object)
  
      Returns:
        HTML in a string