feat(测试跟踪):去掉描述html标签

This commit is contained in:
wenyann 2020-08-21 18:26:37 +08:00
parent 001e275a83
commit ba6a0a6a6b
1 changed files with 2 additions and 0 deletions

View File

@ -270,6 +270,8 @@ public class TestPlanService {
if (issue.size() > 0) { if (issue.size() > 0) {
for (Issues i : issue) { for (Issues i : issue) {
i.setModel(testCase.getModel()); i.setModel(testCase.getModel());
String des = i.getDescription().replaceAll("<p>", "").replaceAll("</p>", "");
i.setDescription(des);
} }
issues.addAll(issue); issues.addAll(issue);
} }