module RDoc::Text

def flush_left text

def flush_left text
  indent = 9999
  text.each_line do |line|
    line_indent = line =~ /\S/ || 9999
    indent = line_indent if indent > line_indent
  end
  empty = ''
  empty = RDoc::Encoding.change_encoding empty, text.encoding
  text.gsub(/^ {0,#{indent}}/, empty)
end