mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 18:37:36 -02:30
[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 <rick@elrod.me>
This commit is contained in:
@@ -79,7 +79,7 @@ function HostEventModal({ onClose, hostEvent = {}, isOpen = false }) {
|
|||||||
|
|
||||||
const jsonObj = processCodeEditorValue(hostEvent?.event_data?.res);
|
const jsonObj = processCodeEditorValue(hostEvent?.event_data?.res);
|
||||||
const stdErr = hostEvent?.event_data?.res?.stderr;
|
const stdErr = hostEvent?.event_data?.res?.stderr;
|
||||||
const stdOut = processCodeEditorValue(getStdOutValue(hostEvent));
|
const stdOut = getStdOutValue(hostEvent);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Modal
|
<Modal
|
||||||
|
|||||||
Reference in New Issue
Block a user