protected function getFigcaptionLink()
    {
        $link = '';

        if ($this->hasAttribute('linkUrl')) {
            $link = '<a class="code-highlight-caption-link" href="'
                . $this->getAttribute('linkUrl')
                . '">';
            $link .= $this->getFigcaptionLinkText();
            $link .= '</a>';
        }

        return $link;
    }