Commit a10f5cd1 authored by pengxin's avatar pengxin

数据优化处理。

parent 3acdacec
......@@ -213,8 +213,8 @@ public class DatasetOutputServiceImpl extends BaseService<DatasetOutput, Long> i
String instruction = rootNode.get(DatasetConstant.INSTRUCTION).textValue();
// 替换"\n "为"\n"
output = output.replaceAll("\\n ", "\\n");
instruction = instruction.replaceAll("\\n ", "\\n");
output = output.replaceAll("\n ", "\\n");
instruction = instruction.replaceAll("\n ", "\\n");
txtData.append(instruction).append("[[").append(output).append("]],\n");
}
String text = txtData.substring(0, txtData.lastIndexOf(",") );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment