diff --git a/eng/common/docgeneration/templates/matthews/styles/main.js b/eng/common/docgeneration/templates/matthews/styles/main.js index 173f60aaf..39fb2c34c 100644 --- a/eng/common/docgeneration/templates/matthews/styles/main.js +++ b/eng/common/docgeneration/templates/matthews/styles/main.js @@ -76,7 +76,7 @@ $(function () { // Add text to empty links $("p > a").each(function () { var link = $(this).attr('href') - if ($(this).text() === "") { + if ($(this).text() === "" && $(this).children().attr("src") === "") { $(this).html(link) } });