parameters: (text, indent)
return_statement: return result
docstring: Utility function to format html output and keep indentation.
docstring_summary: Utility function to format html output and keep indentation.
docstring_tokens: Utility function to format html output and keep indentation .
function: def reindent(text, indent):
      """ Utility function to format html output and keep indentation. """
  
      result = ''
      for line in text.splitlines():
          if len(line.strip()):
              result += ' ' * indent + line.split('|')[1] + os.linesep
      return result
function_tokens: def reindent ( text , indent ) : result = '' for line in text . splitlines ( ) : if len ( line . strip ( ) ) : result += ' ' * indent + line . split ( '|' ) [ 1 ] + os . linesep return result