code: public function initialize(Text $text)
      {
          $text->replaceString("\r\n", "\n");
          $text->replaceString("\r", "\n");
  
          $text->append("\n\n");
          $this->markdown->emit('detab', array($text));
          $text->replace('/^[ \t]+$/m', '');
      }
docs: Convert line breaks
  
  @param Text $text