parameters: (opts, hh, winner)
docstring: Print the HTML tree startig with the winner
docstring_summary: Print the HTML tree startig with the winner
docstring_tokens: Print the HTML tree startig with the winner
function: def print_html(opts, hh, winner):
      """ Print the HTML tree startig with the winner """
      if winner not in hh or not hh[winner]:
          return
      team1, score1, team2, score2 = hh[winner].pop(-1)
      next = '%s:%d v %s:%d' % (get_team_name(opts, team1),score1,get_team_name(opts, team2),score2)
      nodename = 'node'+get_node(next, True)
      print '''<li><a href="#" onclick="toggleVisibility('%(nodename)s'); return false;">[+/-]</a> %(text)s <div id="%(nodename)s">''' % {'nodename': nodename, 'text': next}
      if team1 in hh and hh[team1] or team2 in hh and hh[team2]:
          print '<ul>'
          print_html(opts, hh, team1)
          print_html(opts, hh, team2)
          print '</ul>'
      print '</div></li>'
function_tokens: def print_html ( opts , hh , winner ) : if winner not in hh or not hh [ winner ] : return team1 , score1 , team2 , score2 = hh [ winner ] . pop ( - 1 ) next = '%s:%d v %s:%d' % ( get_team_name ( opts , team1 ) , score1 , get_team_name ( opts , team2 ) , score2 ) nodename = 'node' + get_node ( next , True ) print '''<li><a href="#" onclick="toggleVisibility('%(nodename)s'); return false;">[+/-]</a> %(text)s <div id="%(nodename)s">''' % { 'nodename' : nodename , 'text' : next } if team1 in hh and hh [ team1 ] or team2 in hh and hh [ team2 ] : print '<ul>' print_html ( opts , hh , team1 ) print_html ( opts , hh , team2 ) print '</ul>' print '</div></li>'