Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lmp_server
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lmp
lmp_server
Commits
0a7329ea
Commit
0a7329ea
authored
Apr 26, 2024
by
pengxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
\n换成空格符号
parent
a10f5cd1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
DatasetOutputServiceImpl.java
...e/webadmin/app/service/impl/DatasetOutputServiceImpl.java
+2
-2
No files found.
application-webadmin/src/main/java/com/yice/webadmin/app/service/impl/DatasetOutputServiceImpl.java
View file @
0a7329ea
...
...
@@ -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
"
,
"
"
);
instruction
=
instruction
.
replaceAll
(
"\n
"
,
"
"
);
txtData
.
append
(
instruction
).
append
(
"[["
).
append
(
output
).
append
(
"]],\n"
);
}
String
text
=
txtData
.
substring
(
0
,
txtData
.
lastIndexOf
(
","
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment