mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-05 07:10:55 +00:00
Cleanup low value comments. (#248)
This commit is contained in:
parent
69d1c644d9
commit
0556358560
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue