Is there a reason why runSpanGamut() is called twice on the same string in the _doAnchors_inline_callback() function?
Check out the _doAnchors_inline_callback() function in Markdown.php.
Line 754:
$link_text = $this->runSpanGamut($matches[2]);
Line 773:
$link_text = $this->runSpanGamut($link_text);
As far as I see the $link_text isn't used anywhere between these two lines. I can't find any reason for this. Maybe I'm missing something?