Skip to content

runSpanGamut() performed twice on URL text in _doAnchors_inline_callback() function #373

Open
@paxter

Description

@paxter

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions