code: def repair_broken_urls(line):
      
      def _chop_spaces_in_url_match(m):
          """Suppresses spaces in a matched URL."""
          return m.group(1).replace(" ", "")
      for ptn in re_list_url_repair_patterns:
          line = ptn.sub(_chop_spaces_in_url_match, line)
      return line
docs: Attempt to repair broken URLs in a line of text.
  
      E.g.: remove spaces from the middle of a URL; something like that.
  
      @param line: (string) the line in which to check for broken URLs.
      @return: (string) the line after any broken URLs have been repaired.