update 文档拆分编辑条款时<和>会被编译为<,>
This commit is contained in:
+6
-4
@@ -683,8 +683,9 @@ public class DocumentSplitServiceImpl implements IDocumentSplitService {
|
|||||||
// 条文内容拼接
|
// 条文内容拼接
|
||||||
if (DocumentSplitCommon.TEXT.equals(sarFileSplitItemsValEO.getType())) {
|
if (DocumentSplitCommon.TEXT.equals(sarFileSplitItemsValEO.getType())) {
|
||||||
if (StringUtils.isNotBlank(translation)){
|
if (StringUtils.isNotBlank(translation)){
|
||||||
sarFileSplitItemsValEO.setTranslation(translation
|
sarFileSplitItemsValEO.setTranslation(translation);
|
||||||
.replace("<", "<").replace(">", ">"));
|
//sarFileSplitItemsValEO.setTranslation(translation
|
||||||
|
// .replace("<", "<").replace(">", ">"));
|
||||||
}
|
}
|
||||||
valContent.append("<p>").append(translation).append("</p>");
|
valContent.append("<p>").append(translation).append("</p>");
|
||||||
} else if (DocumentSplitCommon.IMG.equals(sarFileSplitItemsValEO.getType())) {
|
} else if (DocumentSplitCommon.IMG.equals(sarFileSplitItemsValEO.getType())) {
|
||||||
@@ -718,8 +719,9 @@ public class DocumentSplitServiceImpl implements IDocumentSplitService {
|
|||||||
// 条文内容拼接
|
// 条文内容拼接
|
||||||
if (DocumentSplitCommon.TEXT.equals(sarFileSplitItemsValEO.getType())) {
|
if (DocumentSplitCommon.TEXT.equals(sarFileSplitItemsValEO.getType())) {
|
||||||
if (StringUtils.isNotBlank(sarFileSplitItemsValEO.getItemContent())){
|
if (StringUtils.isNotBlank(sarFileSplitItemsValEO.getItemContent())){
|
||||||
sarFileSplitItemsValEO.setItemContent(sarFileSplitItemsValEO.getItemContent()
|
sarFileSplitItemsValEO.setItemContent(sarFileSplitItemsValEO.getItemContent());
|
||||||
.replace("<", "<").replace(">", ">"));
|
//sarFileSplitItemsValEO.setItemContent(sarFileSplitItemsValEO.getItemContent()
|
||||||
|
// .replace("<", "<").replace(">", ">"));
|
||||||
}
|
}
|
||||||
valContent.append("<p>").append(sarFileSplitItemsValEO.getItemContent()).append("</p>");
|
valContent.append("<p>").append(sarFileSplitItemsValEO.getItemContent()).append("</p>");
|
||||||
} else if (DocumentSplitCommon.IMG.equals(sarFileSplitItemsValEO.getType())) {
|
} else if (DocumentSplitCommon.IMG.equals(sarFileSplitItemsValEO.getType())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user