Beispiel #1
0
 protected function _doAnchors_inline_callback($matches)
 {
     if (!$this->_skipAnchors) {
         return parent::_doAnchors_inline_callback($matches);
     }
     $link_text = $this->runSpanGamut($matches[2]);
     return $this->hashPart($link_text);
 }
Beispiel #2
0
 protected function _doAnchors_reference_callback($matches)
 {
     if (!$this->_skipAnchors) {
         return parent::_doAnchors_inline_callback($matches);
     }
     $link_text = $matches[2];
     return $link_text;
 }