[ui] Don't double-entity encode on event stdout (#12950)

- stdout output on events was being double HTML entity encoded meaning
  that all output with < and > was shown as literal "&lt;" and "&gt;"

Signed-off-by: Rick Elrod <rick@elrod.me>
This commit is contained in:
Rick Elrod 2022-09-28 16:35:17 -05:00 committed by GitHub
parent ea51e137eb
commit 1b46805373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,7 @@ function HostEventModal({ onClose, hostEvent = {}, isOpen = false }) {
const jsonObj = processCodeEditorValue(hostEvent?.event_data?.res);
const stdErr = hostEvent?.event_data?.res?.stderr;
const stdOut = processCodeEditorValue(getStdOutValue(hostEvent));
const stdOut = getStdOutValue(hostEvent);
return (
<Modal