Пример #1
0
 protected function identifyLink($Excerpt)
 {
     $Span = parent::identifyLink($Excerpt);
     $remainder = substr($Excerpt['text'], $Span['extent']);
     if (preg_match('/^[ ]*' . $this->attributesPattern . '/', $remainder, $matches)) {
         $Span['element']['attributes'] += $this->parseAttributes($matches[1]);
         $Span['extent'] += strlen($matches[0]);
     }
     return $Span;
 }