Skip to content

Commit

Permalink
fix: revert unintended changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kadxy committed Jan 30, 2025
1 parent 143be69 commit be645aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ export function trimTopic(topic: string) {
return (
topic
// fix for gemini
.replace(/^["""*]+|[""*]+$/g, "")
.replace(/["""",.!?*]*$/, "")
.replace(/^["*]+|["*]+$/g, "")
.replace(/[",.!?*]*$/, "")
);
}

Expand Down

0 comments on commit be645aa

Please sign in to comment.