From fa69c6b0b5405e8c68fe289a894590b23c3dd977 Mon Sep 17 00:00:00 2001 From: lijiarao Date: Sat, 12 Oct 2024 09:11:51 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=9D=A1=E6=AC=BE=E6=8B=86=E5=88=86?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E6=97=B6<>=E8=BD=AC=E4=B8=BA<>?= =?UTF-8?q?=E6=97=B6=E7=89=B9=E6=AE=8A=E5=A4=84=E7=90=86=E4=B8=8A=E4=B8=8B?= =?UTF-8?q?=E8=A7=92=E6=A0=87=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../split/service/impl/FileSplitItemsEOServiceImpl.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/laws-modules/src/main/java/com/jero/modules/split/service/impl/FileSplitItemsEOServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/split/service/impl/FileSplitItemsEOServiceImpl.java index b527659d..9910c1f1 100644 --- a/laws-modules/src/main/java/com/jero/modules/split/service/impl/FileSplitItemsEOServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/split/service/impl/FileSplitItemsEOServiceImpl.java @@ -3543,8 +3543,12 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl", ">"); - String translation = valEO.getTranslation().replace("<", "<").replace(">", ">"); + String itemContent = valEO.getItemContent().replace("<", "<").replace(">", ">") + .replace("<sub>", "").replace("</sub>", "") + .replace("<sup>", "").replace("</sup>", ""); + String translation = valEO.getTranslation().replace("<", "<").replace(">", ">") + .replace("<sub>", "").replace("</sub>", "") + .replace("<sup>", "").replace("</sup>", ""); // 当前段内容 String valContent = ""; String valContentTranslation = "";