protected function getFigcaption()
    {
        $figcaption = '';

        if ($this->hasAttribute('title')) {
            $figcaption = '<figcaption class="code-highlight-caption">';
            $figcaption .= '<span class="code-highlight-caption-title">';
            $figcaption .= $this->getAttribute('title');
            $figcaption .= '</span>';
            $figcaption .= $this->getFigcaptionLink();
            $figcaption .= '</figcaption>';
        }

        return $figcaption;
    }