public function displayContent()
    {
        if ($this->content !== null) {
            if ($this->content_type === 'text/plain') {
                echo SwatString::minimizeEntities($this->content);
            } else {
                echo $this->content;
            }
        }
    }