public function makeHTML($text)
    {
        $html = $text;

        if ($this->defaultActions['makeLinks']) {
            $html = $this->makeLinks($html);
        }

        if ($this->defaultActions['convertLineEndings']) {
            $html = $this->convertLineEndings($html);
        }

        return $html;
    }
public function makeHTML($text)
    {
        $html = $text;

        if ($this->defaultActions['makeLinks']) {
            $html = $this->makeLinks($html);
        }

        if ($this->defaultActions['convertLineEndings']) {
            $html = $this->convertLineEndings($html);
        }

        return $html;
    }
public function makeHTML ( $ text ) { $ html = $ text ; if ( $ this -> defaultActions [ 'makeLinks' ] ) { $ html = $ this -> makeLinks ( $ html ) ; } if ( $ this -> defaultActions [ 'convertLineEndings' ] ) { $ html = $ this -> convertLineEndings ( $ html ) ; } return $ html ; }
The main function to use instead of calling everything individually.

@param $text

@return string
The main function to use instead of calling everything individually .