src/Blocks/BlockUrls.php
protected function getDictionary(array $foundMatches)
    {
        $text = (empty($foundMatches[1])) ? $foundMatches[2] : $foundMatches[1];

        $dictionary = [
            '{title}' => htmlentities($foundMatches[1]),
            '{url}' => $foundMatches[2],
            '{text}' => $text,
        ];

        if (strpos($foundMatches[1], '<') === 0) {
            $dictionary['{title}'] = '';
        }

        return $dictionary;
    }
protected function getDictionary(array $foundMatches)
    {
        $text = (empty($foundMatches[1])) ? $foundMatches[2] : $foundMatches[1];

        $dictionary = [
            '{title}' => htmlentities($foundMatches[1]),
            '{url}' => $foundMatches[2],
            '{text}' => $text,
        ];

        if (strpos($foundMatches[1], '<') === 0) {
            $dictionary['{title}'] = '';
        }

        return $dictionary;
    }
@param array $foundMatches

@return array