fix: revert unintended changes
This commit is contained in:
parent
143be69a7f
commit
be645aab37
|
@ -16,8 +16,8 @@ export function trimTopic(topic: string) {
|
||||||
return (
|
return (
|
||||||
topic
|
topic
|
||||||
// fix for gemini
|
// fix for gemini
|
||||||
.replace(/^["""*]+|[""*]+$/g, "")
|
.replace(/^["“”*]+|["“”*]+$/g, "")
|
||||||
.replace(/[,。!?""""、,.!?*]*$/, "")
|
.replace(/[,。!?”“"、,.!?*]*$/, "")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue