protected function getContent()
    {
        $widget = (object) $this->widget->execute();
        $widget->cache_key = $this->widget->cacheKeys();

        return trim(preg_replace('/(\s|\r|\n)+</', '<',
            view($this->widget->template(), compact('widget'))->render()
        ));

        // Debug function if App has error:
        // `Cannot end a section without first starting one.`
        return view($this->widget->template(), compact('widget'));
    }