Skip to content

Commit cbc3c1b

Browse files
committed
chore: remove unused isRichText function
1 parent 84792ea commit cbc3c1b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

translate/utils.go

+1-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @Author: Vincent Young
33
* @Date: 2024-09-16 11:59:24
44
* @LastEditors: Vincent Yang
5-
* @LastEditTime: 2024-11-01 00:39:32
5+
* @LastEditTime: 2025-04-08 14:27:21
66
* @FilePath: /DeepLX/translate/utils.go
77
* @Telegram: https://t.me/missuo
88
* @GitHub: https://github.com/missuo
@@ -55,8 +55,3 @@ func formatPostString(postData *PostData) string {
5555

5656
return postStr
5757
}
58-
59-
// isRichText checks if text contains HTML-like tags
60-
func isRichText(text string) bool {
61-
return strings.Contains(text, "<") && strings.Contains(text, ">")
62-
}

0 commit comments

Comments
 (0)