Cleanup low value comments. (#248)

This commit is contained in:
Jacob Richman 2025-05-02 14:39:39 -07:00 committed by GitHub
parent 69d1c644d9
commit 0556358560
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 31 additions and 78 deletions

View file

@ -24,7 +24,6 @@ export class MarkdownRenderer {
private static _renderInline(text: string): React.ReactNode[] {
const nodes: React.ReactNode[] = [];
let lastIndex = 0;
// UPDATED Regex: Added <u>.*?<\/u> pattern
const inlineRegex =
/(\*\*.*?\*\*|\*.*?\*|_.*?_|~~.*?~~|\[.*?\]\(.*?\)|`+.+?`+|<u>.*?<\/u>)/g;
let match;