Skip to content

Commit be645aa

Browse files
committed
fix: revert unintended changes
1 parent 143be69 commit be645aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export function trimTopic(topic: string) {
1616
return (
1717
topic
1818
// fix for gemini
19-
.replace(/^["""*]+|[""*]+$/g, "")
20-
.replace(/["""",.!?*]*$/, "")
19+
.replace(/^["*]+|["*]+$/g, "")
20+
.replace(/[",.!?*]*$/, "")
2121
);
2222
}
2323

0 commit comments

Comments
 (0)