Cleanup low value comments. (#248)

This commit is contained in:
Jacob Richman
2025-05-02 14:39:39 -07:00
committed by GitHub
parent aeac4f0e20
commit 3f9c759932
17 changed files with 31 additions and 78 deletions
@@ -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;