diff --git a/fe/fe-core/src/main/java/org/apache/doris/httpv2/controller/QueryProfileController.java b/fe/fe-core/src/main/java/org/apache/doris/httpv2/controller/QueryProfileController.java index 2b6dd1fc4c46e7..e4db290a58d8dc 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/httpv2/controller/QueryProfileController.java +++ b/fe/fe-core/src/main/java/org/apache/doris/httpv2/controller/QueryProfileController.java @@ -54,8 +54,6 @@ public Object profile(@PathVariable(value = ID) String id) { if (profile == null) { return ResponseEntityBuilder.okWithCommonError("ID " + id + " does not exist"); } - profile = profile.replaceAll("\n", "
"); - profile = profile.replaceAll(" ", "  "); return ResponseEntityBuilder.ok(profile); }