mirror of
https://github.com/microsoft/playwright.git
synced 2024-10-27 13:50:25 +03:00
chore: fix .NET docs comments which contained <
or >
(#10772)
This commit is contained in:
parent
388918cf3d
commit
6e607bc109
@ -122,7 +122,7 @@ function _wrapAndEscape(node, maxColumns = 0) {
|
||||
return `<a href="${linkUrl}">${linkName}</a>`;
|
||||
});
|
||||
text = text.replace(/(?<!`)\[(.*?)\]/g, (match, link) => `<see cref="${link}"/>`);
|
||||
text = text.replace(/`([^`]*)`/g, (match, code) => `<c>${code.replace('<', '<').replace('>', '>')}</c>`);
|
||||
text = text.replace(/`([^`]*)`/g, (match, code) => `<c>${code.replace(/</g, '<').replace(/>/g, '>')}</c>`);
|
||||
text = text.replace(/ITimeoutError/, 'TimeoutException');
|
||||
text = text.replace(/Promise/, 'Task');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user