fix 条款拆分导入时<>转为<>时特殊处理上下角标情况
This commit is contained in:
+6
-2
@@ -3543,8 +3543,12 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
|||||||
if (getValList != null && !getValList.isEmpty()) {
|
if (getValList != null && !getValList.isEmpty()) {
|
||||||
for (SarFileSplitItemsValEO valEO : getValList) {
|
for (SarFileSplitItemsValEO valEO : getValList) {
|
||||||
String type = valEO.getType();
|
String type = valEO.getType();
|
||||||
String itemContent = valEO.getItemContent().replace("<", "<").replace(">", ">");
|
String itemContent = valEO.getItemContent().replace("<", "<").replace(">", ">")
|
||||||
String translation = valEO.getTranslation().replace("<", "<").replace(">", ">");
|
.replace("<sub>", "<sub>").replace("</sub>", "</sub>")
|
||||||
|
.replace("<sup>", "<sup>").replace("</sup>", "</sup>");
|
||||||
|
String translation = valEO.getTranslation().replace("<", "<").replace(">", ">")
|
||||||
|
.replace("<sub>", "<sub>").replace("</sub>", "</sub>")
|
||||||
|
.replace("<sup>", "<sup>").replace("</sup>", "</sup>");
|
||||||
// 当前段内容
|
// 当前段内容
|
||||||
String valContent = "";
|
String valContent = "";
|
||||||
String valContentTranslation = "";
|
String valContentTranslation = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user