src/Blocks/BlockUrls.php
protected function parseLine(array $found)
    {
        $dictionary = $this->getDictionary($found);

        $char = strpos($found[1], '[');
        if ($char !== false) {
            $text = substr($found[0], 0, $char);
            $this->content = substr($found[0], $char);

            return $text . $this->parse();
        }

        $isTargetBlank = $this->isTargetBlank($found[0]);
        $content = $this->getStartTag($isTargetBlank) . $this->getEndTag();

        return str_replace(
            array_keys($dictionary),
            $dictionary,
            $content
        );
    }
protected function parseLine(array $found)
    {
        $dictionary = $this->getDictionary($found);

        $char = strpos($found[1], '[');
        if ($char !== false) {
            $text = substr($found[0], 0, $char);
            $this->content = substr($found[0], $char);

            return $text . $this->parse();
        }

        $isTargetBlank = $this->isTargetBlank($found[0]);
        $content = $this->getStartTag($isTargetBlank) . $this->getEndTag();

        return str_replace(
            array_keys($dictionary),
            $dictionary,
            $content
        );
    }
@param array $found

@return string