Texy\Texy::processTypo PHP Method

processTypo() public method

Makes only typographic corrections.
public processTypo ( $text ) : string
return string output text
    public function processTypo($text)
    {
        // standardize line endings and spaces
        $text = Helpers::normalize($text);
        $this->typographyModule->beforeParse($this, $text);
        $text = $this->typographyModule->postLine($text, TRUE);
        if (!empty($this->allowed['longwords'])) {
            $text = $this->longWordsModule->postLine($text);
        }
        return $text;
    }