Phosphorum\Markdown\NewLineExtension::processNewLines PHP Method

processNewLines() public method

public processNewLines ( Ciconia\Common\Text $text )
$text Ciconia\Common\Text
    public function processNewLines(Text $text)
    {
        $text->replace('/\\n/', '<br>');
        return $text;
    }