chore: remove unused isRichText function

This commit is contained in:
Vincent Yang 2025-04-08 14:27:33 -04:00
parent 84792ead81
commit cbc3c1be51
No known key found for this signature in database
GPG Key ID: 281CF11A76870183

View File

@ -2,7 +2,7 @@
* @Author: Vincent Young
* @Date: 2024-09-16 11:59:24
* @LastEditors: Vincent Yang
* @LastEditTime: 2024-11-01 00:39:32
* @LastEditTime: 2025-04-08 14:27:21
* @FilePath: /DeepLX/translate/utils.go
* @Telegram: https://t.me/missuo
* @GitHub: https://github.com/missuo
@ -55,8 +55,3 @@ func formatPostString(postData *PostData) string {
return postStr
}
// isRichText checks if text contains HTML-like tags
func isRichText(text string) bool {
return strings.Contains(text, "<") && strings.Contains(text, ">")
}