Don't call Parser::replaceInternalLinks twice, but instead