docs(dotnet): fix link regex on xmldocs (#6528)
This commit is contained in:
parent
60a7b0618f
commit
5aa00d1e5e
|
|
@ -118,7 +118,7 @@ function _wrapAndEscape(node, maxColumns = 0) {
|
|||
|
||||
|
||||
let text = node.text;
|
||||
text = text.replace(/\[(.*?)\]\((.*?)\)/g, (match, linkName, linkUrl) => {
|
||||
text = text.replace(/\[([^\]]*)\]\((.*?)\)/g, (match, linkName, linkUrl) => {
|
||||
return `<a href="${linkUrl}">${linkName}</a>`;
|
||||
});
|
||||
text = text.replace(/(?<!`)\[(.*?)\]/g, (match, link) => `<see cref="${link}"/>`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue