diff --git a/demisto_sdk/commands/run_cmd/runner.py b/demisto_sdk/commands/run_cmd/runner.py index 2374076da6e..873327f537b 100644 --- a/demisto_sdk/commands/run_cmd/runner.py +++ b/demisto_sdk/commands/run_cmd/runner.py @@ -180,9 +180,9 @@ def _run_query(self, playground_id: str): if entry.contents: logger.info("## Readable Output") if entry.type == self.ERROR_ENTRY_TYPE: - logger.info("{}", f"{entry.contents}\n") # noqa: PLE1205 + logger.info("{}", f"{entry.contents.replace('<', '\\<')}\n") # noqa: PLE1205 else: - logger.info(f"{entry.contents}\n") + logger.info(f"{entry.contents.replace('<', '\\<')}\n") # and entries with `file_id`s defined, that is the fileID of the debug log file if entry.type == self.DEBUG_FILE_ENTRY_TYPE: