From cbc3c1be51ab9ff3e0518cc57a865349a32e8a48 Mon Sep 17 00:00:00 2001 From: Vincent Yang Date: Tue, 8 Apr 2025 14:27:33 -0400 Subject: [PATCH] chore: remove unused isRichText function --- translate/utils.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/translate/utils.go b/translate/utils.go index 1268262..ae5fb2e 100644 --- a/translate/utils.go +++ b/translate/utils.go @@ -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, ">") -}