Skip to content

Commit 3faf967

Browse files
authored
[fix](ui) Fix query profile displaying as garbled text with html tags in FE UI (apache#31)
1 parent e016543 commit 3faf967

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎fe/fe-core/src/main/java/org/apache/doris/httpv2/controller/QueryProfileController.java‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ public Object profile(@PathVariable(value = ID) String id) {
5454
if (profile == null) {
5555
return ResponseEntityBuilder.okWithCommonError("ID " + id + " does not exist");
5656
}
57-
profile = profile.replaceAll("\n", "</br>");
58-
profile = profile.replaceAll(" ", "&nbsp;&nbsp;");
5957
return ResponseEntityBuilder.ok(profile);
6058
}
6159

0 commit comments

Comments
 (0)