From 6e607bc10930af48711d08bafca0b4602fea540f Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Tue, 7 Dec 2021 16:33:28 -0800 Subject: [PATCH] chore: fix .NET docs comments which contained `<` or `>` (#10772) --- utils/doclint/xmlDocumentation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/doclint/xmlDocumentation.js b/utils/doclint/xmlDocumentation.js index cca6c1b4fe..898e924147 100644 --- a/utils/doclint/xmlDocumentation.js +++ b/utils/doclint/xmlDocumentation.js @@ -122,7 +122,7 @@ function _wrapAndEscape(node, maxColumns = 0) { return `${linkName}`; }); text = text.replace(/(? ``); - text = text.replace(/`([^`]*)`/g, (match, code) => `${code.replace('<', '<').replace('>', '>')}`); + text = text.replace(/`([^`]*)`/g, (match, code) => `${code.replace(//g, '>')}`); text = text.replace(/ITimeoutError/, 'TimeoutException'); text = text.replace(/Promise/, 'Task');