FluidTYPO3\Vhs\ViewHelpers\Format\PlaintextViewHelper::render PHP Method

render() public method

Trims content, then trims each line of content
public render ( string $content = null ) : string
$content string
return string
    public function render($content = null)
    {
        if (null === $content) {
            $content = $this->renderChildren();
        }
        $content = trim($content);
        $lines = explode("\n", $content);
        $lines = array_map('trim', $lines);
        return implode(LF, $lines);
    }
PlaintextViewHelper