Skip to content

Commit 429cff5

Browse files
committed
updated to remove file search annotation generated by api calls
1 parent 5f23def commit 429cff5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

i18n/controllers/recurTranslate.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,5 +562,6 @@ function strongEscapeXML(str: string): string {
562562
.replace(/</g, "&lt;")
563563
.replace(/>/g, "&gt;")
564564
.replace(/"/g, "&quot;")
565-
.replace(/'/g, "&apos;");
565+
.replace(/'/g, "&apos;")
566+
.replace(/([\s\S]*?)/g, "");
566567
}

0 commit comments

Comments
 (0)