diff --git a/utils/doclint/xmlDocumentation.js b/utils/doclint/xmlDocumentation.js index 2874793dcf..2f27f76c1b 100644 --- a/utils/doclint/xmlDocumentation.js +++ b/utils/doclint/xmlDocumentation.js @@ -122,6 +122,7 @@ function _wrapAndEscape(node, maxColumns = 0) { text = text.replace(/\[(.*?)\]\((.*?\))/g, (match, linkName, linkUrl) => { return `${linkName}`; }); + text = text.replace(/\[(.*?)\]/g, (match, link) => ``); const words = text.split(' '); let line = ''; for (let i = 0; i < words.length; i++) {