Skip to content

Commit

Permalink
chore: remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning00Blade committed Mar 20, 2024
1 parent 896cb51 commit e7c349a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tools/docgen/src/custom_markdown_documenter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,6 @@ export class CustomMarkdownEmitter extends ApiFormatterMarkdownEmitter {
.replace(/\}/g, '}');
return textWithBackslashes;
}

protected override getTableEscapedText(text: string): string {
// Replace characters that need escaping
const escaped = text
.replace(/&/g, '&')
.replace(/"/g, '"')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;')
.replace(/\|/g, '&#124;');
// Remove special notes as they can't be rendered in the table view
return escaped.replace(/^:::$/g, '').replace(/^:::[A-Za-z]+$/g, '');
}
}

/**
Expand Down

0 comments on commit e7c349a

Please sign in to comment.