wenzhenghu opened a new pull request, #61864:
URL: https://github.com/apache/doris/pull/61864

   ### What problem does this PR solve?
   
   Issue Number: close #xxx
   
   Problem Summary: 
   After the frontend UI was updated to use `innerText` to prevent profile 
truncation by special characters, the profile page started showing garbled text 
full of `</br>` and `&nbsp;` tags.
   This is because the backend API `QueryProfileController` was forcibly 
injecting these HTML formatting tags into the plain text data. Since the modern 
frontend `<pre>` tag naturally handles line breaks and spaces, we should remove 
these destructive string replacements from the backend to keep the API data 
clean.
   
   ### Release note
   
   Fix the issue where the Query Profile page in the Web UI displays garbled 
text with HTML tags.
   
   ### Check List (For Author)
   
   - Test: Manual test
   - Behavior changed: No
   - Does this need documentation: No
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should 
merge into -->
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to