From 1b4680537356bac3999612c48db5f461d4e7b507 Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Wed, 28 Sep 2022 16:35:17 -0500 Subject: [PATCH] [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 "<" and ">" Signed-off-by: Rick Elrod --- awx/ui/src/screens/Job/JobOutput/HostEventModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/src/screens/Job/JobOutput/HostEventModal.js b/awx/ui/src/screens/Job/JobOutput/HostEventModal.js index 19faa9d5e0..f23fd154d3 100644 --- a/awx/ui/src/screens/Job/JobOutput/HostEventModal.js +++ b/awx/ui/src/screens/Job/JobOutput/HostEventModal.js @@ -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 (